This is an archive of the discontinued Mercurial Phabricator instance.

tests: make flag parsing test more future safe
ClosedPublic

Authored by joerg.sonnenberger on Jul 21 2020, 4:14 PM.

Details

Summary

The revlog format contains a number of feature flags, e.g. if general
deltas are active. When testing that unknown flags are rejected, use
bits that are not immediately following the currently used bits.

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

indygreg accepted this revision.Aug 8 2020, 4:54 PM
This revision is now accepted and ready to land.Aug 8 2020, 4:54 PM
This revision was automatically updated to reflect the committed changes.