# HG changeset patch # User Pulkit Goyal # Date 2019-01-29 22:19:56 # Node ID a03d20e3619484a229838ade65ff0c5b9f9c530c # Parent 30dd20a56f3e644f4353719054a12c8ceed1fc8c py3: use '%d' instead of '%s' for integers Differential Revision: https://phab.mercurial-scm.org/D5738 diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py --- a/hgext/convert/monotone.py +++ b/hgext/convert/monotone.py @@ -93,9 +93,9 @@ class monotone_source(common.converter_s 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')