This is an archive of the discontinued Mercurial Phabricator instance.

bundle2: use os.SEEK_* constants
ClosedPublic

Authored by indygreg on Nov 11 2017, 9:50 PM.

Details

Summary

Constants make code easier to read than magic numbers.

I also threw in an explicit argument in a caller to further
increase code comprehension.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Nov 11 2017, 9:50 PM
dlax accepted this revision.Nov 13 2017, 3:26 AM
yuja accepted this revision.Nov 13 2017, 9:08 AM
This revision is now accepted and ready to land.Nov 13 2017, 9:08 AM
This revision was automatically updated to reflect the committed changes.