# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-27 09:16:35 # Node ID 580f75f70f399cb6e34880cee3d8087edc5d2fb0 # Parent 2218f5bfafcaa4b325b8af4f311fd258c397ca79 py3: use '%d' to convert integers to bytes Differential Revision: https://phab.mercurial-scm.org/D2479 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -270,7 +270,7 @@ def _debugchangegroup(ui, gen, all=None, 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)))