Show More
@@ -190,15 +190,15 b' def addremove(ui, repo, *pats, **opts):' | |||
|
190 | 190 | ``.hgignore``. As with add, these changes take effect at the next |
|
191 | 191 | commit. |
|
192 | 192 | |
|
193 |
Use the -s/--similarity option to detect renamed files. |
|
|
194 | parameter greater than 0, this compares every removed file with | |
|
195 | every added file and records those similar enough as renames. This | |
|
193 | Use the -s/--similarity option to detect renamed files. This | |
|
196 | 194 | option takes a percentage between 0 (disabled) and 100 (files must |
|
197 |
be identical) as its parameter. |
|
|
195 | be identical) as its parameter. With a parameter greater than 0, | |
|
196 | this compares every removed file with every added file and records | |
|
197 | those similar enough as renames. Detecting renamed files this way | |
|
198 | 198 | can be expensive. After using this option, :hg:`status -C` can be |
|
199 | used to check which files were identified as moved or renamed. | |
|
200 | If this option is not specified, only renames of identical files | |
|
201 | are detected. | |
|
199 | used to check which files were identified as moved or renamed. If | |
|
200 | not specified, -s/--similarity defaults to 100 and only renames of | |
|
201 | identical files are detected. | |
|
202 | 202 | |
|
203 | 203 | Returns 0 if all files are successfully added. |
|
204 | 204 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now