Closed by commit rHGd5437bf42e37: py3: fix crecord.py's editpatchwitheditor exception message encoding (authored by touilleMan). This revision was automatically updated to reflect the committed changes.
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7194?vs=17448&id=17453 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7194/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7194 AFFECTED FILES mercurial/crecord.py CHANGE DETAILS diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -1816,7 +1816,7 @@ try: patch = self.ui.edit(patch.getvalue(), b"", action=b"diff") except error.Abort as exc: - self.errorstr = str(exc) + self.errorstr = stringutil.forcebytestr(exc) return None finally: self.stdscr.clear() To: touilleMan, #hg-reviewers, indygreg Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel