This is an archive of the discontinued Mercurial Phabricator instance.

revlog: store sidedata in their own file
ClosedPublic

Authored by marmoute on May 28 2021, 6:56 PM.

Details

Summary

This makes sidedata manipulation simpler and results in more compact data when
traversing either data or sidedata.

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.May 28 2021, 6:56 PM
marmoute updated this revision to Diff 28256.May 30 2021, 1:29 PM
marmoute updated this revision to Diff 28278.May 30 2021, 10:07 PM
baymax updated this revision to Diff 28300.May 31 2021, 6:38 AM

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

Alphare requested changes to this revision.May 31 2021, 10:26 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/revlog.py
930

Agreed, but for now let's put a small comment explaining why the dance is needed, it wasn't immediately obvious to me when I was writing the code initially.

This revision now requires changes to proceed.May 31 2021, 10:26 AM
baymax updated this revision to Diff 28329.Jun 1 2021, 5:41 AM

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

baymax updated this revision to Diff 28397.Jun 1 2021, 11:10 PM

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

Alphare accepted this revision as: Alphare.Jun 2 2021, 4:23 AM

There are some typos (even in the commit title), so if you can fix them, that's be nice, otherwise this looks good.

There are some typos (even in the commit title), so if you can fix them, that's be nice, otherwise this looks good.

Indeed, I am sending a new version that should be better.

baymax retitled this revision from revlog: store sidedata in there own file to revlog: store sidedata in their own file.Jun 4 2021, 9:54 AM
baymax edited the summary of this revision. (Show Details)
baymax updated this revision to Diff 28446.

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

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.