Show More
@@ -53,11 +53,11 b' def addremove(ui, repo, *pats, **opts):' | |||||
53 | New files are ignored if they match any of the patterns in .hgignore. As |
|
53 | New files are ignored if they match any of the patterns in .hgignore. As | |
54 | with add, these changes take effect at the next commit. |
|
54 | with add, these changes take effect at the next commit. | |
55 |
|
55 | |||
56 |
Use the -s/--similarity option to detect renamed files. With a parameter |
|
56 | Use the -s/--similarity option to detect renamed files. With a parameter | |
57 |
0, this compares every removed file with every added file and |
|
57 | greater than 0, this compares every removed file with every added file and | |
58 |
those similar enough as renames. This option takes a percentage |
|
58 | records those similar enough as renames. This option takes a percentage | |
59 |
(disabled) and 100 (files must be identical) as its parameter. |
|
59 | between 0 (disabled) and 100 (files must be identical) as its parameter. | |
60 | renamed files this way can be expensive. |
|
60 | Detecting renamed files this way can be expensive. | |
61 | """ |
|
61 | """ | |
62 | try: |
|
62 | try: | |
63 | sim = float(opts.get('similarity') or 0) |
|
63 | sim = float(opts.get('similarity') or 0) |
General Comments 0
You need to be logged in to leave comments.
Login now