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

Re: Setting svn:externals property to root of checkouted directory

From: Blair Zajac <blair_at_orcaware.com>
Date: Sun, 5 Apr 2009 11:06:58 -0700

On Apr 5, 2009, at 3:10 AM, taro wrote:

> Hello,
>
> I have working copy of project,
> and need to add some files
> (which are already under version control)
> to root of working copy using svn:externals.
>
> Firts tryed command:
> % svn propedit svn:externals .
> put there record:
> . svn://host/adds/trunk/
> And got error:
> svn: Invalid svn:externals property on '.': target '' is an absolute
> path
> or involves '..'
>
> Then tryed command:
> % svn propset svn:externals . svn://host/adds/trunk/
> And got error:
> svn: Setting property on non-local target 'svn://host/adds/trunk/'
> needs a
> base revision
>
> With command:
> % svn propset svn:externals svn://host/adds/trunk/ .
> Got error:
> svn: Error parsing svn:externals property on '.': 'svn://host/adds/
> trunk/'
>
> Is it possible to do, what I trying?

No, you can't have '.' as the target of an external, it needs to
specify a file or directory contained in the current directory.

If you have a 'foo' under svn://host/adds/trunk/, then you'll need to
add

foo svn://host/adds/trunk/foo

to the svn:externals.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1553163
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-05 20:08:07 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.