Mercurial > hg
changeset 39741:7303ab86431a
py3: use '%d' instead of '%s' for integers
Python 3 does not allow to use '%s' for integers.
Differential Revision: https://phab.mercurial-scm.org/D4688
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Fri, 21 Sep 2018 03:16:08 +0530 |
parents | e0a7cfa9323f |
children | 38d51371792b |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Sep 21 03:16:38 2018 +0530 +++ b/mercurial/commands.py Fri Sep 21 03:16:08 2018 +0530 @@ -4878,10 +4878,10 @@ if node != parent: if dirty: hint = _("uncommitted changes, use --all to discard all" - " changes, or 'hg update %s' to update") % ctx.rev() + " changes, or 'hg update %d' to update") % ctx.rev() else: hint = _("use --all to revert all files," - " or 'hg update %s' to update") % ctx.rev() + " or 'hg update %d' to update") % ctx.rev() elif dirty: hint = _("uncommitted changes, use --all to discard all changes") else: