changeset 34354:87a6be5b29f4

py3: use '%d' instead of '%s' for integers Differential Revision: https://phab.mercurial-scm.org/D856
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 30 Sep 2017 18:02:53 +0530
parents 46f45b7efa30
children 1a5abc45e2fa
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Sep 30 15:46:36 2017 +0530
+++ b/mercurial/commands.py	Sat Sep 30 18:02:53 2017 +0530
@@ -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: