This is an archive of the discontinued Mercurial Phabricator instance.

revlog: pass index entry type into packentry() (API)
AcceptedPublic

Authored by indygreg on Dec 26 2017, 7:36 PM.

Details

Reviewers
durin42
Group Reviewers
hg-reviewers
Summary

packentry() currently accepts tuples. Let's pass in index entry types
instead.

The censor extension was calling into this low-level code. It has
been refactored to use our new type and to look up fields in index
entries by name instead of offset.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Dec 26 2017, 7:36 PM
durin42 accepted this revision.Jan 10 2018, 5:54 PM
This revision is now accepted and ready to land.Jan 10 2018, 5:54 PM