This is an archive of the discontinued Mercurial Phabricator instance.

hg: Tolerate long vs. int in test-context.py
ClosedPublic

Authored by mithrandi on Aug 12 2017, 8:32 AM.

Details

Summary

The file times here can be longs instead of ints on some platforms, which will
cause a test failure due to these printing with an L suffix; instead always
format with %d which will produce the same output in either case.

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

mithrandi created this revision.Aug 12 2017, 8:32 AM
durin42 accepted this revision.Aug 15 2017, 1:11 PM
This revision is now accepted and ready to land.Aug 15 2017, 1:11 PM
This revision was automatically updated to reflect the committed changes.