Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 11525:f4eddec324b7
Merge with stable
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Fri, 09 Jul 2010 14:21:45 +0200 |
parents | 24965bb270b7 8d827f4a23f1 |
children | 4484a7b661f2 |
comparison
equal
deleted
inserted
replaced
11524:24965bb270b7 | 11525:f4eddec324b7 |
---|---|
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) |