Tricks for taming large repo manifests and/or improving large repo clone times?

Arne Babenhauserheide arne_bab at web.de
Wed May 29 20:51:54 UTC 2019


Pulkit Goyal <7895pulkit at gmail.com> writes:

> I got this smaller repo from Augie and updated that to use zstd compression
> for revlogs. It saves another 45.4 MB.
>
> (Upgrading to zstd can be done running hg debugupgraderepo with `--config
> format.revlog-compression=zstd`. Make sure you have latest hg which is 5.0)

Ah, sorry, I also did that for the stats I posted.

You can change to zstd in general by adding

[format]
revlog-compression = zstd

in ~/.hgrc

And zstd is pretty awesome, as it can be scaled in the speed/compression
tradeoff from lz4 to LZMA just by changing parameters.

But it needs an up-to-date Mercurial.

Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1076 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20190529/006ccbf5/attachment.asc>


More information about the Mercurial mailing list