Mercurial > hg
comparison mercurial/dispatch.py @ 44306:a0ec05d93c8e
cleanup: re-run black on the codebase
Looks like a few patches have landed without having been blackened. I
strongly suspect I should write a patch for baymax that blackens
things on the way in...
# skip-blame automatic formatting
Differential Revision: https://phab.mercurial-scm.org/D8104
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 10 Feb 2020 17:31:05 -0500 |
parents | ef11dfc56674 |
children | 9d2b2df2c2ba |
comparison
equal
deleted
inserted
replaced
44305:d8d4fa9a7f18 | 44306:a0ec05d93c8e |
---|---|
622 ) % (self.name, cmd,) | 622 ) % (self.name, cmd,) |
623 self.unknowncmd = True | 623 self.unknowncmd = True |
624 except error.AmbiguousCommand: | 624 except error.AmbiguousCommand: |
625 self.badalias = _( | 625 self.badalias = _( |
626 b"alias '%s' resolves to ambiguous command '%s'" | 626 b"alias '%s' resolves to ambiguous command '%s'" |
627 ) % (self.name, cmd) | 627 ) % (self.name, cmd,) |
628 | 628 |
629 def _populatehelp(self, ui, name, cmd, fn, defaulthelp=None): | 629 def _populatehelp(self, ui, name, cmd, fn, defaulthelp=None): |
630 # confine strings to be passed to i18n.gettext() | 630 # confine strings to be passed to i18n.gettext() |
631 cfg = {} | 631 cfg = {} |
632 for k in (b'doc', b'help', b'category'): | 632 for k in (b'doc', b'help', b'category'): |