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

Re: externals relative to server root

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: Fri, 24 Oct 2008 14:45:45 +0200

On Fri, Oct 24, 2008 at 2:03 PM, Robin Guest <robin.guest_at_gmail.com> wrote:
> I'm using TortoiseSVN 1.5.4.14259 on XP SP2, for Subversion 1.5.3
> Windows Server 2003.
>
> This works, when set as an svn:externals property:
> Externals/Inno
> svn://192.168.0.4/Pegasus%20Development/Internal/Inno/Opera%20II
> Externals/Source
> svn://192.168.0.4/Pegasus%20Development/Internal/Bridge%20Security%20Manager/Opera%20II/trunk/Install/Source
> If I change it to:
> Externals/Inno /Pegasus%20Development/Internal/Inno/Opera%20II
> Externals/Source
> /Pegasus%20Development/Internal/Bridge%20Security%20Manager/Opera%20II/trunk/Install/Source
> I get the error:
> Invalid svn:externals property on
> 'svn://192.168.0.4/Pegasus%20Development/Bridge/Opera%20II%20v6/Contract%20Splitting/trunk/Install':
> target '/Pegasus%20Development/Internal/Inno/Opera%20II' is an absolute path
> or involves '..'
>
> at the point of applying it.
> I thought I had defined the relative path correctly according to TSVN help
> and the red bean book. How can I get a url relative to server root?
> Thanks! Robin
>
>

Each line in the svn:externals property is an optional revision, an
URL and a relative directory path.

So for your example to work you must write the following:
/Pegasus%20Development/Internal/Inno/Opera%20II
Externals/Inno /Pegasus%20Development/Internal/Bridge%20Security%20Manager/Opera%20II/trunk/Install/Source
Externals/Source

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-24 14:45:56 CEST

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

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