##// END OF EJS Templates
addremove: restore the relative path printing when files are named...
Matt Harbison -
r23481:94091ab9 default
parent child Browse files
Show More
@@ -730,11 +730,10 b' def addremove(repo, pats=[], opts={}, dr'
730 toprint.update(deleted)
730 toprint.update(deleted)
731 for abs in sorted(toprint):
731 for abs in sorted(toprint):
732 if repo.ui.verbose or not m.exact(abs):
732 if repo.ui.verbose or not m.exact(abs):
733 rel = m.rel(abs)
734 if abs in unknownset:
733 if abs in unknownset:
735 status = _('adding %s\n') % ((m.anypats() and rel) or abs)
734 status = _('adding %s\n') % m.uipath(abs)
736 else:
735 else:
737 status = _('removing %s\n') % ((m.anypats() and rel) or abs)
736 status = _('removing %s\n') % m.uipath(abs)
738 repo.ui.status(status)
737 repo.ui.status(status)
739
738
740 renames = _findrenames(repo, m, added + unknown, removed + deleted,
739 renames = _findrenames(repo, m, added + unknown, removed + deleted,
@@ -91,7 +91,7 b' Issue1527: repeated addremove causes uti'
91 no copies found here (since the target isn't in d
91 no copies found here (since the target isn't in d
92
92
93 $ hg addremove -s80 d
93 $ hg addremove -s80 d
94 removing d/b
94 removing d/b (glob)
95
95
96 copies here
96 copies here
97
97
General Comments 0
You need to be logged in to leave comments. Login now