D2135: py3: use "%d" instead of "%s" for integers

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Feb 11 09:05:50 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf91b7f26c68a: py3: use "%d" instead of "%s" for integers (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2135?vs=5398&id=5420

REVISION DETAIL
  https://phab.mercurial-scm.org/D2135

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -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):



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list