equal
deleted
inserted
replaced
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) |