HomePhabricator

revlog: implement a "default compression" mode

Authored by marmoute.

Description

revlog: implement a "default compression" mode

The revlog docker is now storing a default compression engine. When a chunk use
that compression, a dedicated mode is used in the revlog entry and we can
directly route it to the right decompressor.

We should probably make PLAIN and DEFAULT mode the only available mode for
revlogv2, but this is something for later.

Differential Revision: https://phab.mercurial-scm.org/D10652

Details

Committed
marmouteMay 3 2021, 3:13 PM
Differential Revision
D10652: revlog: implement a "default compression" mode
Parents
rHGeac3591abbf4: revlog: add a `_get_decompressor` method
Branches
Unknown
Tags
Unknown