py3: port string formatting

Authored by indygreg on Sun, Feb 11, 5:57 PM.



skipped is a set of integer revs here. So cast integers to
strings using %d.

None doesn't cast to an empty string on Python 3. So use '' explicitly.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
indygreg created this revision.Sun, Feb 11, 5:57 PM
yuja requested changes to this revision.Sun, Feb 11, 8:43 PM
yuja added a subscriber: yuja.

r looks like an integer, and bytes(int) is '\0' * int.

This revision now requires changes to proceed.Sun, Feb 11, 8:43 PM
indygreg updated this revision to Diff 5452.Sun, Feb 11, 9:35 PM
indygreg edited the summary of this revision. (Show Details)
pulkit accepted this revision.Mon, Feb 12, 2:14 AM
yuja accepted this revision.Tue, Feb 13, 7:11 AM
This revision is now accepted and ready to land.Tue, Feb 13, 7:11 AM
This revision was automatically updated to reflect the committed changes.