Page MenuHomePhabricator

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

Authored by pulkit on Sep 20 2018, 6:00 PM.

Details

Summary

Python 3 does not allow to use '%s' for integers.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Sep 20 2018, 6:00 PM
indygreg added inline comments.
mercurial/commands.py
4881–4884

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

This revision was automatically updated to reflect the committed changes.