py3: use '%d' to convert integers to bytes
Differential Revision: https://phab.mercurial-scm.org/D2479
--- a/mercurial/debugcommands.py Tue Feb 27 14:44:37 2018 +0530
+++ b/mercurial/debugcommands.py Tue Feb 27 14:46:35 2018 +0530
@@ -270,7 +270,7 @@
ui.write("\n%s%s\n" % (indent_string, named))
for deltadata in gen.deltaiter():
node, p1, p2, cs, deltabase, delta, flags = deltadata
- ui.write("%s%s %s %s %s %s %s\n" %
+ ui.write("%s%s %s %s %s %s %d\n" %
(indent_string, hex(node), hex(p1), hex(p2),
hex(cs), hex(deltabase), len(delta)))