Submitter | Augie Fackler |
---|---|
Date | May 31, 2017, 7:15 p.m. |
Message ID | <717c41aef8adcaf71edd.1496258144@augie-macbookpro2.roam.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/21093/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -319,7 +319,8 @@ def _callcatch(ui, func): except error.CommandError as inst: if inst.args[0]: ui.pager('help') - ui.warn(_("hg %s: %s\n") % (inst.args[0], inst.args[1])) + msgbytes = pycompat.bytestr(inst.args[1]) + ui.warn(_("hg %s: %s\n") % (inst.args[0], msgbytes)) commands.help_(ui, inst.args[0], full=False, command=True) else: ui.pager('help')