( )⚙ D10789 revlog: move censoring code in a dedicated module

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: move censoring code in a dedicated module
ClosedPublic

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

Details

Summary

This code is quite specific and we are about to add more of it for revlog-v2
(and other derived version). So we move this code in a dedicated module in
mercurial/revlogutils/. This looks like a good fit.

The diff is huge because I used hg copy to create the new file so that we keep
the history of the censor code.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.May 28 2021, 6:57 PM
baymax updated this revision to Diff 28251.May 29 2021, 12:51 AM

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

baymax updated this revision to Diff 28254.May 30 2021, 12:07 PM

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

baymax updated this revision to Diff 28302.May 31 2021, 6:51 AM

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

Alphare accepted this revision.May 31 2021, 10:33 AM
This revision is now accepted and ready to land.May 31 2021, 10:33 AM

I can't un-accept as a reviewer, I meant to only accept as me to give a chance to the other reviewers to read this series.

baymax updated this revision to Diff 28317.May 31 2021, 4:21 PM

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

baymax updated this revision to Diff 28399.Jun 1 2021, 11:17 PM

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

baymax updated this revision to Diff 28414.Jun 2 2021, 7:43 AM

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

baymax updated this revision to Diff 28448.Jun 4 2021, 11:04 AM

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

baymax updated this revision to Diff 28470.Jun 7 2021, 5:16 AM

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

This revision was automatically updated to reflect the committed changes.
mercurial/revlog.py