mercurial/scmutil.py
changeset 23427 3778884197f0
parent 23371 1df6519eb3ab
child 23481 94091ab9d112
equal deleted inserted replaced
23426:19ebd2f88fc7 23427:3778884197f0
   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)
   733             rel = m.rel(abs)
   734             if abs in unknownset:
   734             if abs in unknownset:
   735                 status = _('adding %s\n') % ((pats and rel) or abs)
   735                 status = _('adding %s\n') % ((m.anypats() and rel) or abs)
   736             else:
   736             else:
   737                 status = _('removing %s\n') % ((pats and rel) or abs)
   737                 status = _('removing %s\n') % ((m.anypats() and rel) or abs)
   738             repo.ui.status(status)
   738             repo.ui.status(status)
   739 
   739 
   740     renames = _findrenames(repo, m, added + unknown, removed + deleted,
   740     renames = _findrenames(repo, m, added + unknown, removed + deleted,
   741                            similarity)
   741                            similarity)
   742 
   742