How to track GIT branches with the convert extension ?

Patrick Mézard pmezard at gmail.com
Tue Jan 6 01:26:43 CST 2009


Edouard Gomez a écrit :
> Hello the list,
> 
> I first found that during the conversion remote
> branches were not considered as heads for conversion.
> This has been fixed shortly.
> 
> However, now i have to deal with lot of heads that sit
> happily on the default branch.
> 
> It seems the bookmark extension just does GIT style branches.
> 
> I need some guidance on:
>  - how can the 'convert' extension detect the bookmark extension ?
>    (dir(hgext.bookmark) ?)

Take a look at extsetup() in record extension for instance, or at rebase extension.

>  - is there a dedicated API for calling extensions nicely ?

record just load the extension object and call related functions.

>  - are bookmarks part of the wired protocol so that clone
>    does actually clone them ?

No it's not.

--
Patrick Mézard



More information about the Mercurial-devel mailing list