[PATCH 0 of 2] Added improved named branch support to heads, branch and fetch.

Sune Foldager cryo at cyanite.org
Thu Sep 11 11:43:40 CDT 2008


On 11/09/2008, at 09.32, Peter Arrenbrecht wrote:

> Dirstate. ie:
>>
>> repo[None].branch()
>
> So repo[None] is preferred over repo.dirstate?

repo[None] is a workingctx instance (subclass of changectx);  
repo.distate is a dirstate instance, so it's not the same thing.

-- Sune.



More information about the Mercurial-devel mailing list