This is an archive of the discontinued Mercurial Phabricator instance.

revlog: factor the logic to determine the delta compression out
ClosedPublic

Authored by marmoute on Jun 21 2021, 9:10 AM.

Details

Summary

This make the logic clearly isolated and documented and it will help use to
reuse it during censors/strip.

Diff Detail

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

Event Timeline

marmoute created this revision.Jun 21 2021, 9:10 AM
Alphare accepted this revision.Jun 21 2021, 10:24 AM
Alphare added a subscriber: Alphare.

Not a big fan of one-letter variables, but this is strictly better.

This revision is now accepted and ready to land.Jun 21 2021, 10:24 AM

Not a big fan of one-letter variables, but this is strictly better.

I am just moving code around !

(okay, okay, I wrote the initial code)

I can expand this in a follow up. I would rather keep the change along side the movement minimal.