mercurial/commands.py
changeset 33031 f66be4caeaab
parent 33026 f5f4c72de71a
child 33042 3e102a8dd52c
--- a/mercurial/commands.py	Fri Jun 23 10:59:05 2017 -0700
+++ b/mercurial/commands.py	Thu Jun 22 01:29:07 2017 +0530
@@ -2774,8 +2774,7 @@
                   ('+'.join([hexfunc(p.node()) for p in parents]), changed)]
             if num:
                 output.append("%s%s" %
-                  ('+'.join([pycompat.bytestr(p.rev()) for p in parents]),
-                                                                    changed))
+                  ('+'.join(["%d" % p.rev() for p in parents]), changed))
         else:
             if default or id:
                 output = [hexfunc(ctx.node())]