This is an archive of the discontinued Mercurial Phabricator instance.

revlog: make the index always return the same tuple

Authored by marmoute on May 3 2021, 7:47 AM.



It is simpler to manage the diferrence in on disk format in the internal index
code itself and lets the rest of the code always handle the same object.

This will become even more important when the data we store will be entirely
different (for example the changelog does not need the "linkrev" field.

We start with item reading, we will deal with item writing in the next

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.May 3 2021, 7:47 AM
baymax updated this revision to Diff 27483.May 3 2021, 9:43 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.May 7 2021, 8:58 AM
This revision is now accepted and ready to land.May 7 2021, 8:58 AM
This revision was automatically updated to reflect the committed changes.