diff --git a/mercurial/commands.py b/mercurial/commands.py index 264b86cf209240cb2381b32d8279bb32af848a82_bWVyY3VyaWFsL2NvbW1hbmRzLnB5..723de0ad3d8b0abe1f885b49cd1ceaade1f16747_bWVyY3VyaWFsL2NvbW1hbmRzLnB5 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2880,8 +2880,9 @@ ('+'.join([hexfunc(p.node()) for p in parents]), changed)] if num: output.append("%s%s" % - ('+'.join([str(p.rev()) for p in parents]), changed)) + ('+'.join([pycompat.bytestr(p.rev()) for p in parents]), + changed)) else: if default or id: output = [hexfunc(ctx.node())] if num: @@ -2884,8 +2885,8 @@ else: if default or id: output = [hexfunc(ctx.node())] if num: - output.append(str(ctx.rev())) + output.append(pycompat.bytestr(ctx.rev())) taglist = ctx.tags() if default and not ui.quiet: