D4688: py3: use '%d' instead of '%s' for integers
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Sep 20 18:34:07 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7303ab86431a: py3: use '%d' instead of '%s' for integers (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4688?vs=11250&id=11252
REVISION DETAIL
https://phab.mercurial-scm.org/D4688
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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:
To: pulkit, #hg-reviewers
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list