Mercurial > public > mercurial-scm > hg
comparison hgext/phabricator.py @ 43094:e8cf9ad52a78
formatting: run black on all file again
Apparently, since the blackgnarok, we divergence from the expected formatting.
Formatted using::
grey.py -S $(hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" - hgext/fsmonitor/pywatchman/** - contrib/grey.py')
# skip-blame mass-reformatting only
# no-check-commit reformats foo_bar functions
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 07 Oct 2019 10:58:51 -0400 |
parents | c59eb1560c44 |
children | 8ff1ecfadcd1 |
comparison
equal
deleted
inserted
replaced
43093:9002f4a3dde6 | 43094:e8cf9ad52a78 |
---|---|
773 # If it fails just warn and keep going, otherwise the DREV | 773 # If it fails just warn and keep going, otherwise the DREV |
774 # associations will be lost | 774 # associations will be lost |
775 try: | 775 try: |
776 writediffproperties(unfi[newnode], diffmap[old.node()]) | 776 writediffproperties(unfi[newnode], diffmap[old.node()]) |
777 except util.urlerr.urlerror: | 777 except util.urlerr.urlerror: |
778 ui.warnnoi18n(b'Failed to update metadata for D%s\n' % drevid) | 778 ui.warnnoi18n( |
779 b'Failed to update metadata for D%s\n' % drevid | |
780 ) | |
779 # Remove local tags since it's no longer necessary | 781 # Remove local tags since it's no longer necessary |
780 tagname = b'D%d' % drevid | 782 tagname = b'D%d' % drevid |
781 if tagname in repo.tags(): | 783 if tagname in repo.tags(): |
782 tags.tag( | 784 tags.tag( |
783 repo, | 785 repo, |