Mercurial > hg
changeset 43698:0c25e3404e23
py3: use '%d' for formatting a revnum in `hg co --date` code
Differential Revision: https://phab.mercurial-scm.org/D7429
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 14 Nov 2019 22:31:21 -0800 |
parents | dc4e74d0ef96 |
children | 21e05aabef8c |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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