changeset 36070:f91b7f26c68a

py3: use "%d" instead of "%s" for integers Differential Revision: https://phab.mercurial-scm.org/D2135
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:25:53 +0530
parents acda1977210c
children dae84ccebc57
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):