mercurial/commands.py
branchstable
changeset 11518 8d827f4a23f1
parent 11515 cc982ff2dcf8
child 11525 f4eddec324b7
child 11611 4f5a6df2af92
equal deleted inserted replaced
11516:ee876e42dd74 11518:8d827f4a23f1
    75     Use the -s/--similarity option to detect renamed files. With a
    75     Use the -s/--similarity option to detect renamed files. With a
    76     parameter greater than 0, this compares every removed file with
    76     parameter greater than 0, this compares every removed file with
    77     every added file and records those similar enough as renames. This
    77     every added file and records those similar enough as renames. This
    78     option takes a percentage between 0 (disabled) and 100 (files must
    78     option takes a percentage between 0 (disabled) and 100 (files must
    79     be identical) as its parameter. Detecting renamed files this way
    79     be identical) as its parameter. Detecting renamed files this way
    80     can be expensive.
    80     can be expensive. After using this option, :hg:`status -C` can be
       
    81     used to check which files were identified as moved or renamed.
    81 
    82 
    82     Returns 0 if all files are successfully added.
    83     Returns 0 if all files are successfully added.
    83     """
    84     """
    84     try:
    85     try:
    85         sim = float(opts.get('similarity') or 0)
    86         sim = float(opts.get('similarity') or 0)