Submitter | Denis Laxalde |
---|---|
Date | Dec. 18, 2019, 4:45 p.m. |
Message ID | <b5ea9c258bedfc2ba121.1576687509@steppe.local> |
Download | mbox | patch |
Permalink | /patch/43975/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -262,7 +262,7 @@ def callcatch(ui, func): if isinstance(reason, pycompat.unicode): # SSLError of Python 2.7.9 contains a unicode reason = encoding.unitolocal(reason) - ui.error(_(b"abort: error: %s\n") % reason) + ui.error(_(b"abort: error: %s\n") % stringutil.forcebytestr(reason)) elif ( util.safehasattr(inst, b"args") and inst.args