branch | stable |
changeset 10564 | 6ded6243bde2 |
parent 10402 | d216fa04e48a |
child 10651 | 5f091fc1bab7 |
child 10793 | 16df09a54113 |
--- a/mercurial/dispatch.py Mon Mar 01 22:47:39 2010 +0100 +++ b/mercurial/dispatch.py Mon Mar 01 23:27:44 2010 +0900 @@ -208,8 +208,7 @@ if self.help.startswith("hg " + cmd): # drop prefix in old-style help lines so hg shows the alias self.help = self.help[4 + len(cmd):] - self.__doc__ = _("alias for: hg %s\n\n%s") \ - % (definition, self.fn.__doc__) + self.__doc__ = self.fn.__doc__ except error.UnknownCommand: def fn(ui, *args):