diff mercurial/debugcommands.py @ 36459:580f75f70f39

py3: use '%d' to convert integers to bytes Differential Revision: https://phab.mercurial-scm.org/D2479
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 27 Feb 2018 14:46:35 +0530
parents 0cb09c322647
children 6e90c59b6da1
line wrap: on
line diff
--- 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)))