[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: Dimitri Yanculovici <dimitri.yanculovici_at_orange-ftgroup.com>
Date: Thu, 5 Feb 2009 15:24:22 +0100

-----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

On Feb 5, 2009, at 01:49, Dimitri Yanculovici wrote:

> I would like to know if the "../" in the local path of an
> svn:externals
> definition is planed to be supported.
>
> It isn't in the 1.5 version of svn : "Also, the local subdirectory
> part of
> the definition cannot contain .. parent directory indicators (such as
> ../../skins/myskin)."
>
> Is there a bug (enhancement) already opened for that in the
> subversion issue
> tracker?
> I didn't find one.

Why do you need this? Can't you set the svn:externals definition on
the directory two levels up instead?

Here is what I want to do:

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/

But ../component1/ is not supported...

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-05 15:26:50 CET

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