mercurial/commands.py
changeset 16642 5cf18921bb7b
parent 16612 726dd0fc7cfe
parent 16637 265daefc00b2
child 16647 14913fcb30c6
equal deleted inserted replaced
16629:1435866c1937 16642:5cf18921bb7b
   194     every added file and records those similar enough as renames. This
   194     every added file and records those similar enough as renames. This
   195     option takes a percentage between 0 (disabled) and 100 (files must
   195     option takes a percentage between 0 (disabled) and 100 (files must
   196     be identical) as its parameter. Detecting renamed files this way
   196     be identical) as its parameter. Detecting renamed files this way
   197     can be expensive. After using this option, :hg:`status -C` can be
   197     can be expensive. After using this option, :hg:`status -C` can be
   198     used to check which files were identified as moved or renamed.
   198     used to check which files were identified as moved or renamed.
       
   199     If this option is not specified, only renames of identical files
       
   200     are detected.
   199 
   201 
   200     Returns 0 if all files are successfully added.
   202     Returns 0 if all files are successfully added.
   201     """
   203     """
   202     try:
   204     try:
   203         sim = float(opts.get('similarity') or 100)
   205         sim = float(opts.get('similarity') or 100)