py3: use '%d' for integers instead of '%s'
authorPulkit Goyal <pulkit@yandex-team.ru>
Sat, 13 Oct 2018 04:51:09 +0300
changeset 40225 474809790256
parent 40224 63245ad598af
child 40226 0d403e9f049a
py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D5036
hgext/convert/monotone.py
--- a/hgext/convert/monotone.py	Sat Oct 13 04:47:51 2018 +0300
+++ b/hgext/convert/monotone.py	Sat Oct 13 04:51:09 2018 +0300
@@ -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)