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

RE: Error parsing svn:externals property

From: Bax, Arjen <ABax_at_AEGON.NL>
Date: 2005-04-07 14:48:31 CEST

Mahesh kulkarni writes:

> i've two repository say A and B.. i want to assign
> svn:external property for "A/trunk/WebBrowser" to
> "B/trunk/WebCommon"
> i'll create a working copy of "A/trunk/WebBrowser" to
> say "/local /WebBrowser"
> now i suppose to set the external property to working
> copy rite? i tried executing the following line
> ]# svn propset svn:externals
> file:///B/trunk/WebBrowser /local /WebBrowser
> svn: Error parsing svn:externals property on '/local
> /WebBrowser': '/B/trunk/WebBrowser'
> i'm getting the above error.. can anyone help me in
> this? i think to many of you it may look easy qn..
> because i'm new to subversion i couldn't understand
> it.. please help me

Make that

svn ps svn:externals "local file:///B/trunk/WebBrowser" WebBrowser

which will set the property svn:externals on the directory WebBrowser (in
your WC).
The next time you update, this will create a directory "WebBrowser/local"
and dump the contents of the "file:///B/trunk/WebBrowser" repository subtree
in it.

If you intended to automatically create a subdirectory WebBrowser with the
contents of file:///B/trunk/WebBrowser in it, you should do the following:

svn ps svn:externals "WebBrowser file:///B/trunk/WebBrowser" .

(note the dot at the end) and update.

Arjen Bax

Violence is the last refuge of the incompetent - Isaac Asimov
Received on Thu Apr 7 14:55:34 2005

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.