mercurial/scmutil.py
changeset 39088 ad88726d6982
parent 38856 a01200b25da6
child 39226 7a759ad2d06d
--- a/mercurial/scmutil.py	Fri Jul 27 12:08:10 2018 +0200
+++ b/mercurial/scmutil.py	Wed Jul 25 17:11:52 2018 +0200
@@ -1005,9 +1005,11 @@
         if repo.ui.verbose or not m.exact(abs):
             if abs in unknownset:
                 status = _('adding %s\n') % m.uipath(abs)
+                label = 'addremove.added'
             else:
                 status = _('removing %s\n') % m.uipath(abs)
-            repo.ui.status(status)
+                label = 'addremove.removed'
+            repo.ui.status(status, label=label)
 
     renames = _findrenames(repo, m, added + unknown, removed + deleted,
                            similarity)