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

Sune Foldager cryo at cyanite.org
Tue May 17 16:09:47 CDT 2011


On 2011-05-17 23:04, Benoit Boissinot wrote:
>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.

Yes, I'll put some numbers in from my test repos :)

>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.)

For non-GD repos, I assume? You mean like a setting.. or command line
switches for which commands?

/Sune


More information about the Mercurial-devel mailing list