Show More
@@ -1005,9 +1005,11 b' def addremove(repo, matcher, prefix, opt' | |||
|
1005 | 1005 | if repo.ui.verbose or not m.exact(abs): |
|
1006 | 1006 | if abs in unknownset: |
|
1007 | 1007 | status = _('adding %s\n') % m.uipath(abs) |
|
1008 | label = 'addremove.added' | |
|
1008 | 1009 | else: |
|
1009 | 1010 | status = _('removing %s\n') % m.uipath(abs) |
|
1010 | repo.ui.status(status) | |
|
1011 | label = 'addremove.removed' | |
|
1012 | repo.ui.status(status, label=label) | |
|
1011 | 1013 | |
|
1012 | 1014 | renames = _findrenames(repo, m, added + unknown, removed + deleted, |
|
1013 | 1015 | similarity) |
@@ -69,6 +69,12 b'' | |||
|
69 | 69 | removing c |
|
70 | 70 | adding d |
|
71 | 71 | recording removal of a as rename to b (100% similar) |
|
72 | $ hg addremove -ns 50 --color debug | |
|
73 | [addremove.removed ui.status|removing a] | |
|
74 | [addremove.added ui.status|adding b] | |
|
75 | [addremove.removed ui.status|removing c] | |
|
76 | [addremove.added ui.status|adding d] | |
|
77 | [ ui.status|recording removal of a as rename to b (100% similar)] | |
|
72 | 78 | $ hg addremove -s 50 |
|
73 | 79 | removing a |
|
74 | 80 | adding b |
General Comments 0
You need to be logged in to leave comments.
Login now