mercurial/debugcommands.py
changeset 36492 6e90c59b6da1
parent 36459 580f75f70f39
child 36527 44dc34b8d17b
--- a/mercurial/debugcommands.py	Thu Mar 01 23:52:30 2018 +0530
+++ b/mercurial/debugcommands.py	Thu Mar 01 23:54:52 2018 +0530
@@ -1591,7 +1591,8 @@
                                      metadata=metadata, ui=ui)
                 tr.close()
             except ValueError as exc:
-                raise error.Abort(_('bad obsmarker input: %s') % exc)
+                raise error.Abort(_('bad obsmarker input: %s') %
+                                  pycompat.bytestr(exc))
             finally:
                 tr.release()
         finally: