[PATCH] bundlerepo: don't write branch cache to disk

Sune Foldager cryo at cyanite.org
Thu Dec 1 11:30:12 CST 2011


On 01-12-2011 17:50, Matt Mackall wrote:
> On Thu, 2011-12-01 at 14:19 +0100, Sune Foldager wrote:
>> # HG changeset patch
>> # User Sune Foldager<cryo at cyanite.org>
>> # Date 1322745437 -3600
>> # Branch stable
>> # Node ID 239940e1075e9540ca83853fa43a23bf5c421cf6
>> # Parent  e387e760b207383c961ed8accd35583791a33bb0
>> bundlerepo: don't write branch cache to disk
>>
>> Calling branchmap() or similar on a bundlerepo would write the bundle-augmented
>> branch cache to disk, requiring a subsequent expensive rebuild when the repo
>> is used without the bundle.
>
> Good spotting, queued. Have you thought about the tag cache?

Yeah, it might be the same problem; I'll look at it first thing tomorrow.

/Sune


More information about the Mercurial-devel mailing list