[PATCH 02 of 12] branchmap: cache open/closed branch head information

Brodie Rao brodie at sf.io
Fri Nov 15 21:48:26 CST 2013


On Fri, Nov 15, 2013 at 10:38 PM, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
> On 11/15/2013 09:27 PM, Brodie Rao wrote:
>>
>> # HG changeset patch
>> # User Brodie Rao <brodie at sf.io>
>> # Date 1379318909 25200
>> #      Mon Sep 16 01:08:29 2013 -0700
>> # Node ID baa013be987aeea0da0a95f7a55496941c7d4e2c
>> # Parent  1e160d0fd711f4a709fe033a122c867d299a8afc
>> branchmap: cache open/closed branch head information
>>
>> This lets us determine the open/closed state of a branch without
>> reading from the changelog (which can be costly over NFS and/or with
>> many branches).
>
>
> This patch introduce a new cache file with a new format, but I can't locate
> any documentation about this new format.
>
> We really want some inline documentation about the format and some details
> about how it impact the code (the patch touch quite a lot of new)

I'll add a new patch to the beginning of the series that adds
documentation for the existing format, and I'll update this patch so
it updates that documentation.

I'll send a V2 series in a bit.

> Having this new cache is an awesome new however!
>
> --
> Pierre-Yves David


More information about the Mercurial-devel mailing list