This is an archive of the discontinued Mercurial Phabricator instance.

censor: extract the part about recomputing delta in a function
ClosedPublic

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

Details

Summary

The v2_censor function is huge, now that its content has settled a bit it is a
good time to split individual part inside dedicated function.

It is now the turn of the logic that recompute new delta to replace the one
based on the revision that are going away.

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:50 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/revlogutils/rewrite.py
262

nit: survive

This revision is now accepted and ready to land.Jul 1 2021, 4:50 AM