You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Vincent <jv...@novell.com> on 2005/09/02 19:51:46 UTC
svn:externals repository referencing question...
I think I know the answer to this (because it isn't working), but I want
to be sure I'm not doing something wrong.
SVN has the concept of Externals and Vendor Branches. I DON'T want
users to edit the 3rd party libraries and these libraries don't have
their own SVN repository (that I can access anyway). So... it seemed
that the svn:externals methods is the easiest and cleanest way to
consume these libraries. So we imported the 3rd party libraries into
our own SVN repository and used the svn:externals property to link them,
by setting the property URL to our own SVN 3rd party repository folder.
My svn paths are the following:
https://svn.mysite.org/svn/trunk/myproject/extern
https://svn.mysite.org/svn/vendor/3rdParty
On the '.../myProject/extern' folder above I have defined the following
property on my local working copy:
> cd ./myProject
>svn propset svn:externals '3rdParty
https://svn.mysite.org/svn/vendor/3rdParty' extern
What I thought this would do on checkout (or update) is create a folder
called '.../myProject/extern/3rdParty' and place in it everything from
'.../vendor/3rdParty'. So I'm either doing it wrong or it isn't
supported, because I get the following error:
Fetching external item into 'extern/3rdParty'
svn: Working copy 'extern/3rdParty' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup'
for details)
All attempts at running svn cleanup succeed, but don't change the
result. Should this be possible and if so what could I be doing wrong?
TIA!!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org