Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commandserver.py @ 45682:d2e1dcd4490d
errors: name arguments to Abort constructor
Differential Revision: https://phab.mercurial-scm.org/D9179
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 08 Oct 2020 13:37:31 -0700 |
parents | f43bc4ce0d69 |
children | 89a2afe31e82 |
line wrap: on
line diff
--- a/mercurial/commandserver.py Thu Oct 08 15:35:44 2020 -0700 +++ b/mercurial/commandserver.py Thu Oct 08 13:37:31 2020 -0700 @@ -500,7 +500,7 @@ # handle exceptions that may be raised by command server. most of # known exceptions are caught by dispatch. except error.Abort as inst: - ui.error(_(b'abort: %s\n') % inst) + ui.error(_(b'abort: %s\n') % inst.message) except IOError as inst: if inst.errno != errno.EPIPE: raise