branch | stable |
changeset 43402 | 40bf3d7ecc42 |
parent 43077 | 687b865b95ad |
child 43417 | 822202e72f69 |
--- a/mercurial/error.py Mon Nov 04 16:04:09 2019 +0100 +++ b/mercurial/error.py Mon Nov 04 16:13:01 2019 +0100 @@ -111,6 +111,9 @@ __bytes__ = _tobytes + def __str__(self): + return pycompat.sysstr(self.__bytes__()) + class HookLoadError(Abort): """raised when loading a hook fails, aborting an operation