Mercurial > public > mercurial-scm > hg
comparison hgext/phabricator.py @ 43080:86e4daa2d54c
cleanup: mark some ui.(status|note|warn|write) calls as not needing i18n
These used to be marked with no-op parens, but black removes those now
and this is more explicit.
# skip-blame: fallout from mass reformatting
Differential Revision: https://phab.mercurial-scm.org/D6996
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 10:51:16 -0400 |
parents | 687b865b95ad |
children | c59eb1560c44 |
comparison
equal
deleted
inserted
replaced
43079:5209fc94b982 | 43080:86e4daa2d54c |
---|---|
772 # If it fails just warn and keep going, otherwise the DREV | 772 # If it fails just warn and keep going, otherwise the DREV |
773 # associations will be lost | 773 # associations will be lost |
774 try: | 774 try: |
775 writediffproperties(unfi[newnode], diffmap[old.node()]) | 775 writediffproperties(unfi[newnode], diffmap[old.node()]) |
776 except util.urlerr.urlerror: | 776 except util.urlerr.urlerror: |
777 ui.warn(b'Failed to update metadata for D%s\n' % drevid) | 777 ui.warnnoi18n(b'Failed to update metadata for D%s\n' % drevid) |
778 # Remove local tags since it's no longer necessary | 778 # Remove local tags since it's no longer necessary |
779 tagname = b'D%d' % drevid | 779 tagname = b'D%d' % drevid |
780 if tagname in repo.tags(): | 780 if tagname in repo.tags(): |
781 tags.tag( | 781 tags.tag( |
782 repo, | 782 repo, |