Patchwork D856: py3: use '%d' instead of '%s' for integers

login
register
mail settings
Submitter phabricator
Date Sept. 30, 2017, 1:39 p.m.
Message ID <89b945230fb9570d23aec6c7a3e3ba92@localhost.localdomain>
Download mbox | patch
Permalink /patch/24267/
State Not Applicable
Headers show

Comments

phabricator - Sept. 30, 2017, 1:39 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG87a6be5b29f4: py3: use &#039;%d&#039; instead of &#039;%s&#039; for integers (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D856?vs=2181&id=2189

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2150,7 +2150,7 @@ 
     skipped = set()
     # check for merges
     for rev in repo.revs('%ld and merge()', revs):
-        ui.warn(_('skipping ungraftable merge revision %s\n') % rev)
+        ui.warn(_('skipping ungraftable merge revision %d\n') % rev)
         skipped.add(rev)
     revs = [r for r in revs if r not in skipped]
     if not revs: