Submitter | Yuya Nishihara |
---|---|
Date | March 1, 2018, 2:17 p.m. |
Message ID | <ebde1b7aba4b59b41736.1519913834@mimosa> |
Download | mbox | patch |
Permalink | /patch/28554/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -132,7 +132,7 @@ def _formatparse(write, inst): similar = _getsimilar(inst.symbols, inst.function) if len(inst.args) > 1: write(_("hg: parse error at %s: %s\n") % - (inst.args[1], inst.args[0])) + (pycompat.bytestr(inst.args[1]), inst.args[0])) if (inst.args[0][0] == ' '): write(_("unexpected leading whitespace\n")) else: