[PATCH 2 of 2] revlog: linearize created changegroups in generaldelta revlogs

Benoit Boissinot bboissin at gmail.com
Tue May 17 16:04:24 CDT 2011


On Tue, May 17, 2011 at 10:36 PM, Sune Foldager <cryo at cyanite.org> wrote:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1305664425 -7200
> # Node ID aeaa52ba0e2394fe337e2444ed3bc4b0bc5e0933
> # Parent  d29b9d6e76eca602c879a76427fec813929335d1
> revlog: linearize created changegroups in generaldelta revlogs
>
> This greatly improves the speed of the bundling process, and reduces the
> bundle size considerably in general. If the repository is already ordered,
> this has little effect on both time and bundle size.
>

Would be nice to have concrete numbers in the commit message, like:
- change in the gd case for bundle -t none --all
- comparison to bundle -t none for non-gd, without reordering.

Additionally, I'd love having a debug config switch to enable that,
then we could remove the shrink extension (the only addition of shrink
is --dry-run and the statistics.)

cheers,

Benoit


More information about the Mercurial-devel mailing list