py3: use '%d' instead of '%s' for integers
Differential Revision: https://phab.mercurial-scm.org/D5738
--- a/hgext/convert/monotone.py Tue Jan 29 13:26:18 2019 -0500
+++ b/hgext/convert/monotone.py Wed Jan 30 03:49:56 2019 +0530
@@ -93,9 +93,9 @@
kwargs = pycompat.byteskwargs(kwargs)
command = []
for k, v in kwargs.iteritems():
- command.append("%s:%s" % (len(k), k))
+ command.append("%d:%s" % (len(k), k))
if v:
- command.append("%s:%s" % (len(v), v))
+ command.append("%d:%s" % (len(v), v))
if command:
command.insert(0, 'o')
command.append('e')