D4688: py3: use '%d' instead of '%s' for integers

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Sep 20 18:33:27 EDT 2018


indygreg added inline comments.

INLINE COMMENTS

> commands.py:4881-4884
> +                         " changes, or 'hg update %d' to update") % ctx.rev()
>              else:
>                  hint = _("use --all to revert all files,"
> +                         " or 'hg update %d' to update") % ctx.rev()

IMO we should be using hex nodes here instead of revision numbers. But that was a preexisting condition. Meh.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4688

To: pulkit, #hg-reviewers
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list