This is an archive of the discontinued Mercurial Phabricator instance.

py3: use %d to format an int
ClosedPublic

Authored by Kwan on Nov 2 2019, 6:22 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHG742065def6ca: py3: use %d to format an int
Summary

Avoids a TypeError under py3. Fortunately this is very much an edge case since
it requires the user to have deliberately created a local tag of the form
'D\d+' that isn't truthful.

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

Kwan created this revision.Nov 2 2019, 6:22 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.