# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 2018-02-24 10:46:14
# Node ID a24c57f1f5c37bd75dee7fd57a51cb0ca6dc372c
# Parent  eb73f8a6177edf48a4f09f29490ffaa1fcd730ac

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

Differential Revision: https://phab.mercurial-scm.org/D2419

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -560,7 +560,7 @@ def debugdate(ui, date, range=None, **op
         d = util.parsedate(date, util.extendeddateformats)
     else:
         d = util.parsedate(date)
-    ui.write(("internal: %s %s\n") % d)
+    ui.write(("internal: %d %d\n") % d)
     ui.write(("standard: %s\n") % util.datestr(d))
     if range:
         m = util.matchdate(range)
diff --git a/mercurial/tags.py b/mercurial/tags.py
--- a/mercurial/tags.py
+++ b/mercurial/tags.py
@@ -276,7 +276,7 @@ def _readtaghist(ui, repo, lines, fn, re
     count = 0
 
     def dbg(msg):
-        ui.debug("%s, line %s: %s\n" % (fn, count, msg))
+        ui.debug("%s, line %d: %s\n" % (fn, count, msg))
 
     for nline, line in enumerate(lines):
         count += 1