tags: fix some type confusion exposed in python 3
authorAugie Fackler <augie@google.com>
Mon, 10 Feb 2020 20:47:19 -0500
changeset 44350 e80da7a63264
parent 44349 cd43cae79f25
child 44351 8ec186c1ccfe
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
mercurial/debugcommands.py
--- 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(