You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by taro <ta...@mail333.com> on 2009/04/05 10:10:58 UTC
Setting svn:externals property to root of checkouted directory
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?
Thank you.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1550072
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Setting svn:externals property to root of checkouted directory
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 6, 2009, at 04:15, Bolstridge, Andrew wrote:
> Blair Zajac wrote:
>
>> 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
>
> However, while you cannot have '.', you can have '..', '^', '//'
> and '/'
> which all provide a form of relative directory paths.
>
> http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html
Andrew, you're talking about syntax that can be used in the URL part
of the externals definition (the part that says where the external
will be checked out from), but Blair was talking about the target
part of the externals definition (the part that says where the
external will be checked out to).
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1560167
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Setting svn:externals property to root of checkouted directory
Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
> -----Original Message-----
> From: Blair Zajac [mailto:blair@orcaware.com]
> Sent: Sunday, April 05, 2009 7:07 PM
> To: taro
> Cc: users@subversion.tigris.org
> Subject: Re: Setting svn:externals property to root of checkouted
> directory
>
[snip]
> 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
>
However, while you cannot have '.', you can have '..', '^', '//' and '/'
which all provide a form of relative directory paths.
http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1560093
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Setting svn:externals property to root of checkouted directory
Posted by Blair Zajac <bl...@orcaware.com>.
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
<bl...@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@subversion.tigris.org].