changeset 44350:e80da7a63264

tags: fix some type confusion exposed in python 3 # skip-blame just b-prefix and %-format cleanup, no meaningful change Differential Revision: https://phab.mercurial-scm.org/D8107
author Augie Fackler <augie@google.com>
date Mon, 10 Feb 2020 20:47:19 -0500
parents cd43cae79f25
children 8ec186c1ccfe
files mercurial/debugcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Fri Jan 10 17:20:12 2020 -0800
+++ b/mercurial/debugcommands.py	Mon Feb 10 20:47:19 2020 -0500
@@ -3498,8 +3498,8 @@
     for r in repo:
         node = repo[r].node()
         tagsnode = cache.getfnode(node, computemissing=False)
-        tagsnodedisplay = hex(tagsnode) if tagsnode else 'missing/invalid'
-        ui.write(b'%s %s %s\n' % (r, hex(node), tagsnodedisplay))
+        tagsnodedisplay = hex(tagsnode) if tagsnode else b'missing/invalid'
+        ui.write(b'%d %s %s\n' % (r, hex(node), tagsnodedisplay))
 
 
 @command(