[PATCH V2] generaldelta: initialize basecache properly

Tim Delaney timothy.c.delaney at gmail.com
Sat Sep 21 18:50:38 CDT 2013


On 22 September 2013 09:47, Tim Delaney <timothy.c.delaney at gmail.com> wrote:

> On 22 September 2013 08:06, Matt Mackall <mpm at selenic.com> wrote:
>
>> On Sun, 2013-09-22 at 05:01 +1000, Tim Delaney wrote:
>> > Is there a reason generaldelta is still undocumented and/or not yet the
>> > default format? It's been in since Mercurial 1.9 and I only found out
>> about
>> > it thanks to this patch. My work repo (~55000 changesets, mostly from
>> SVN
>> > via hgsubversion) has had its 00manifest.d reduced from ~1.4GB to ~28MB
>> by:
>>
>> The reason is that you could still end up sending that 1.4GB over the
>> wire =and= taking substantially more CPU than before... because the wire
>> protocol can only do linear deltas and thus will have to recompute the
>> deltas for the old format. This will be fixed when we get the new bundle
>> format figured out.
>>
>> You might find that a standard clone of your generaldelta repo is
>> smaller than your original repo.
>>
>
> Not quite, but it's close - ~31MB compared to ~27MB.
>

Sorry - of course that's compared to the final generaldelta repo. The
standard clone manifest is *much* smaller than the original repo, but
depending on where it received changesets from could then potentially grow
quickly again.

Tim Delaney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130922/6154dbd5/attachment.html>


More information about the Mercurial-devel mailing list