# HG changeset patch # User Augie Fackler # Date 2020-02-11 01:47:19 # Node ID e80da7a63264389e4cf96f57974a357789c0fbec # Parent cd43cae79f2561d7397f7484b8b9c90414745514 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 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -3498,8 +3498,8 @@ def debugtagscache(ui, repo): 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(