Page MenuHomePhabricator

revlog: make the index always return the same tuple
ClosedPublic

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

Details

Summary

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
changesets.

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

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

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

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