changeset 45679 | 65e2b64670b5 |
parent 45678 | bd2df58366b1 |
child 45680 | bb1a988ef4a5 |
--- a/mercurial/error.py Tue Oct 06 20:37:35 2020 -0700 +++ b/mercurial/error.py Tue Oct 06 20:45:52 2020 -0700 @@ -117,6 +117,11 @@ class AmbiguousCommand(Exception): """Exception raised if command shortcut matches more than one command.""" + def __init__(self, prefix, matches): + self.prefix = prefix + self.matches = matches + super(AmbiguousCommand, self).__init__() + __bytes__ = _tobytes