py3: use '%d' for formatting a revnum in `hg co --date` code
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 14 Nov 2019 22:31:21 -0800
changeset 43698 0c25e3404e23
parent 43697 dc4e74d0ef96
child 43699 21e05aabef8c
py3: use '%d' for formatting a revnum in `hg co --date` code Differential Revision: https://phab.mercurial-scm.org/D7429
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Mon Nov 18 17:37:59 2019 +0100
+++ b/mercurial/cmdutil.py	Thu Nov 14 22:31:21 2019 -0800
@@ -2022,7 +2022,7 @@
         rev = ctx.rev()
         if rev in results:
             ui.status(
-                _(b"found revision %s from %s\n")
+                _(b"found revision %d from %s\n")
                 % (rev, dateutil.datestr(results[rev]))
             )
             return b'%d' % rev