Mercurial > hg
diff mercurial/debugcommands.py @ 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 | 8374b69aef75 |
children | f7459da77f23 |
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(