py3: use '%d' to convert integers to bytes
authorPulkit Goyal <7895pulkit@gmail.com>
Tue, 27 Feb 2018 14:46:35 +0530
changeset 36489 580f75f70f39
parent 36488 2218f5bfafca
child 36490 432b85a46717
py3: use '%d' to convert integers to bytes Differential Revision: https://phab.mercurial-scm.org/D2479
mercurial/debugcommands.py
--- 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)))