changeset 45682 | d2e1dcd4490d |
parent 45154 | 10f48720ef95 |
child 45766 | 91c41ea14598 |
--- 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()