equal
deleted
inserted
replaced
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'): |