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
--- 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(