mercurial/dispatch.py
changeset 44306 a0ec05d93c8e
parent 44244 ef11dfc56674
child 44452 9d2b2df2c2ba
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'):