Mercurial > public > mercurial-scm > hg-stable
diff mercurial/crecord.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 | 10f48720ef95 |
children | 91c41ea14598 |
line wrap: on
line diff
--- a/mercurial/crecord.py Thu Oct 08 15:35:44 2020 -0700 +++ b/mercurial/crecord.py Thu Oct 08 13:37:31 2020 -0700 @@ -1808,7 +1808,7 @@ try: patch = self.ui.edit(patch.getvalue(), b"", action=b"diff") except error.Abort as exc: - self.errorstr = stringutil.forcebytestr(exc) + self.errorstr = exc.message return None finally: self.stdscr.clear()