D2041: py3: use "%d" to convert integer to bytes
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Feb 5 09:27:11 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG83b9f96ce20f: py3: use "%d" to convert integer to bytes (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2041?vs=5199&id=5212
REVISION DETAIL
https://phab.mercurial-scm.org/D2041
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -214,7 +214,7 @@
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')
To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list