sub-tree configuration ?
David Holmes
david.holmes at oracle.com
Mon Apr 7 01:01:32 UTC 2014
On 5/04/2014 4:22 AM, Alejandro E Murillo wrote:
>
> On 4/3/2014 6:14 AM, David Holmes wrote:
>> If I tclone a complete forest all the tree subcommands work as
>> expected from the top-level repo.
>>
>> But if I cd into a repo that is itself a "tree" the trees extension
>> doesn't recognize it unless I use tconfig to define that sub-tree.
> What I do, as recommended by John Coomes, is to have local copies of the
> master repos
> I usually clone. Then I configure those so that they have the tree conf
> in the "sub-trees"
> (hotpot and jdk). So when cloning, I tclone from the local master repo
> (that already has
> the proper conf in the sub-trees), instead of tcloning from the http
> master, so the clone will also have that info in the subtree.
Sure, but it is this initial step that I'd like to see automated. :) If
tclone can generate the config for the top-level, it could probably
generate the config for sub-trees too.
Cheers,
David
> caveat: you need to make sure your local repos are synched with the
> master before cloning them.
>
> Note that this indicates, that, if the http master repos would have the
> tree info for the sub-trees, then it
> would also solve that problem when tcloning from those, but I suspect
> that info is not there, because
> that would be closed info in the open repo
>
> hth
> Alejandro
>>
>> Is there a way to automate this so that the subtrees don't need to be
>> manually configured?
>>
>> Thanks,
>> David
>
More information about the hg-tools-dev
mailing list