mercurial/debugcommands.py
changeset 35585 35fb3367f72d
parent 35562 6580cf751418
child 35678 43154a76f392
--- a/mercurial/debugcommands.py	Fri Dec 29 05:28:05 2017 +0530
+++ b/mercurial/debugcommands.py	Fri Dec 29 05:29:04 2017 +0530
@@ -180,7 +180,7 @@
         ui.progress(_('building'), id, unit=_('revisions'), total=total)
         for type, data in dagparser.parsedag(text):
             if type == 'n':
-                ui.note(('node %s\n' % str(data)))
+                ui.note(('node %s\n' % pycompat.bytestr(data)))
                 id, ps = data
 
                 files = []