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

Re: svn:externals ../ in local path

From: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: Thu, 5 Feb 2009 10:16:11 -0800

2009/2/5 Dimitri Yanculovici <dimitri.yanculovici_at_orange-ftgroup.com>:
> -----Message d'origine-----
> De : Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
> Envoyé : jeudi 5 février 2009 14:27
> À : Dimitri Yanculovici
> Cc : users_at_subversion.tigris.org
> Objet : Re: svn:externals ../ in local path
>
> My repository tree structure is:
>
> <repository>
> |- components/
> | |- component1/
> | |- component2/
> | `- component3/
> `- platforms/
> `- platform1/ <- svn:externals
>
> "platform1" refers to "component1",2,3 thus what I need after a checkout of
> "platform1" is:
>
> <current_dir>
> |- component1/
> |- component2/
> |- component3/
> `- platform1/
>
>
> So the only way (that I've found) to automate this (excluding the individual
> checkout of the 3 components and the platform) would be to add svn:externals
> properties on the "platform1/" directory as follow:
>
> ../component1/ http://repository_url/components/component1/
> ../component2/ http://repository_url/components/component2/
> ../component3/ http://repository_url/components/component3/

Can't you just use

<repository>
       |- components/
       | |- component1/
       | |- component2/
       | `- component3/
       `- platforms/
               `- platform1/
                      |- component1/ (svn:externals to
http://repository_url/components/component1/)
                      |- component2/ (svn:externals to
http://repository_url/components/component2/)
                      |- component3/ (svn:externals to
http://repository_url/components/component3/)

and then, I think,

svn co http://repository_url/platforms/platform1 platform

will get you what you want?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1108589

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-05 19:17:22 CET

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