# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-05 07:31:35 # Node ID 83b9f96ce20fae7f706f569a73f6298a21e28451 # Parent 7a991241f586c882a15f376f044f762b439dcbe1 py3: use "%d" to convert integer to bytes Differential Revision: https://phab.mercurial-scm.org/D2041 diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -214,7 +214,7 @@ class rebaseruntime(object): if v >= 0: newrev = repo[v].hex() else: - newrev = v + newrev = "%d" % v destnode = repo[destmap[d]].hex() f.write("%s:%s:%s\n" % (oldrev, newrev, destnode)) repo.ui.debug('rebase status stored\n')