This is an archive of the discontinued Mercurial Phabricator instance.

censor: migrate the logic to a set of `censor_revs`
ClosedPublic

Authored by marmoute on Jun 22 2021, 7:27 PM.

Details

Summary

Instead of considering a special unique censored revision within the code, we
consider a set of revision (currently always of size 1). This make the main code
less censor-centric and prepare for the usage of a similar approach for
stripping 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.Jun 22 2021, 7:27 PM
Alphare accepted this revision.Jul 1 2021, 4:54 AM
This revision is now accepted and ready to land.Jul 1 2021, 4:54 AM
This revision was automatically updated to reflect the committed changes.