mercurial/debugcommands.py
changeset 36719 390d16ea7c76
parent 36607 c6061cadb400
child 36741 7a25f6cfebe8
--- a/mercurial/debugcommands.py	Sun Mar 04 07:40:21 2018 -0800
+++ b/mercurial/debugcommands.py	Sun Mar 04 22:33:59 2018 +0530
@@ -1811,7 +1811,7 @@
     if keyinfo:
         key, old, new = keyinfo
         r = target.pushkey(namespace, key, old, new)
-        ui.status(str(r) + '\n')
+        ui.status(pycompat.bytestr(r) + '\n')
         return not r
     else:
         for k, v in sorted(target.listkeys(namespace).iteritems()):