[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: omit externals of externals

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 15 Oct 2008 16:33:41 -0500

On Oct 15, 2008, at 10:24, Tobias Terhaar wrote:

> I have the following wc structure:
> comp
> |\- inc
> |\- imports <<-- on this folder there are svn:externals
> definitions
> | \- comp2 <-- imported folder of second component
> | |\- inc
> | | ....
> | \- src
> \- src
>
> and
>
> product
> |\imports <<-- svn:external definitions
> |\ comp
> | |\- inc
> | |\- imports <<-- on this folder there are
> svn:externals definitions
> | | \- comp2 <-- imported folder of second component
> | \- src
> \ comp2
> |\- inc
> | ....
> \- src
>
> Do you see the problem? The product folder contains 2 times the
> "comp2"!
> Is there a possibility to advise the svn:externals on product/
> imports to omit the nested externals on
> product/imports/comp/imports
>
> The reason for the nested external is, that the "comp" can be
> checked out as standalone component and inside a product.
>
> Hope everybody understand my problem...

I do understand the problem, but there isn't a way to tell Subversion
to do that automatically.

You could "svn co --ignore-externals product" and then "svn up
product/imports --ignore-externals". I think that will work.

You would have to remember to use "--ignore-externals" every time you
update, to avoid pulling in the externals you don't want.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-15 23:33:59 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.