editors

Help: addremove

hg addremove [OPTION]... [FILE]...

add all new files, delete all missing files

    Add all new files and remove all missing files from the repository.

    New files are ignored if they match any of the patterns in .hgignore. As
    with add, these changes take effect at the next commit.

    Use the -s/--similarity option to detect renamed files. With a parameter
    greater than 0, this compares every removed file with every added file and
    records those similar enough as renames. This option takes a percentage
    between 0 (disabled) and 100 (files must be identical) as its parameter.
    Detecting renamed files this way can be expensive. After using this
    option, "hg status -C" can be used to check which files were identified as
    moved or renamed.

    Returns 0 if all files are successfully added.

options:

 -s --similarity SIMILARITY  guess renamed files by similarity (0<=s<=100)
 -I --include PATTERN [+]    include names matching the given patterns
 -X --exclude PATTERN [+]    exclude names matching the given patterns
 -n --dry-run                do not perform actions, just print output

[+] marked option can be specified multiple times

use "hg -v help addremove" to show global options


SCM Home | OpenEuphoria.org Home