[PATCH] repair: compress bundles with gzip instead of bzip2 (BC)

Siddharth Agarwal sid at less-broken.com
Mon May 15 15:32:20 EDT 2017


On 5/13/17 23:33, Gregory Szorc wrote:
> I*would*  like to change the default to zstd (if available). However,
> that's a significant BC break and I don't feel comfortable changing
> it just yet. When we have official zstd revlog support and the
> repo is using it, I think it makes sense to use zstd for backup
> bundles. But for zlib-based revlogs, it's safer to avoid zstd
> for the time being.


Even if the backup bundle uses gzip, could the temp bundle use zstd? 
IIRC the temp bundle can potentially be much larger than the backup 
bundle because it contains all of the commits with a rev number higher 
than the lowest one being stripped.

- Siddharth



More information about the Mercurial-devel mailing list