pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY Python 3 does not allow to use '%s' for integers. REPOSITORY rHG Mercurial 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: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel