mercurial/dispatch.py
changeset 36503 8b662717c53f
parent 36124 976a9fd706ed
child 36636 c263c684da91
--- a/mercurial/dispatch.py	Thu Mar 01 08:38:39 2018 -0500
+++ b/mercurial/dispatch.py	Thu Mar 01 08:45:34 2018 -0500
@@ -132,7 +132,7 @@
         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: