Show More
@@ -323,12 +323,10 b' def addremove(repo, pats=[], opts={}, dr' | |||||
323 | repo.add(add) |
|
323 | repo.add(add) | |
324 | if similarity > 0: |
|
324 | if similarity > 0: | |
325 | for old, new, score in findrenames(repo, m, similarity): |
|
325 | for old, new, score in findrenames(repo, m, similarity): | |
326 |
|
|
326 | if repo.ui.verbose or not m.exact(old) or not m.exact(new): | |
327 | if repo.ui.verbose or not oldexact or not newexact: |
|
|||
328 | oldrel, newrel = m.rel(old), m.rel(new) |
|
|||
329 | repo.ui.status(_('recording removal of %s as rename to %s ' |
|
327 | repo.ui.status(_('recording removal of %s as rename to %s ' | |
330 | '(%d%% similar)\n') % |
|
328 | '(%d%% similar)\n') % | |
331 |
( |
|
329 | (m.rel(old), m.rel(new), score * 100)) | |
332 | if not dry_run: |
|
330 | if not dry_run: | |
333 | repo.copy(old, new) |
|
331 | repo.copy(old, new) | |
334 |
|
332 |
General Comments 0
You need to be logged in to leave comments.
Login now