py3: use "%d" instead of "%s" for integers
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 11 Feb 2018 17:25:53 +0530
changeset 36032 f91b7f26c68a
parent 36031 acda1977210c
child 36033 dae84ccebc57
py3: use "%d" instead of "%s" for integers Differential Revision: https://phab.mercurial-scm.org/D2135
hgext/mq.py
--- a/hgext/mq.py	Sun Feb 11 17:19:07 2018 +0530
+++ b/hgext/mq.py	Sun Feb 11 17:25:53 2018 +0530
@@ -1185,7 +1185,7 @@
                 except error.Abort:
                     pass
             i += 1
-            name = '%s__%s' % (namebase, i)
+            name = '%s__%d' % (namebase, i)
         return name
 
     def checkkeepchanges(self, keepchanges, force):