D5036: py3: use '%d' for integers instead of '%s'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Oct 13 01:59:16 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5036
AFFECTED FILES
hgext/convert/monotone.py
CHANGE DETAILS
diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -102,7 +102,7 @@
command.append('l')
for arg in args:
- command += "%s:%s" % (len(arg), arg)
+ command += "%d:%s" % (len(arg), arg)
command.append('e')
command = ''.join(command)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list