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

Re: SVN Externals

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-17 22:20:42 CEST

On Aug 17, 2006, at 21:59, Res Pons wrote:

> Thanks for all the info. So if I'm running svn on a linux redhat
> enterprise 3.5 server and I have the following projects at the root
> of the repo
>
> ProjA
> ProjB
> ProjC
> ProjD (just a common library folder w/o branches & tags & trunk
> subfolders)
>
> And I want projD to be symlinked into A, B, & C when everyone
> checks out these 3 latter projects so they automatically get projD
> into their working folders... say I go to ProjA and create a file
> called what and what I do put in it and just check it in? Our SVN
> server is a Linux box and developers either use Eclipse plugin or
> svn commnad line; the Tortoise example totally lost me. Sorry.

If $REPO is the URL to your repository, then:

cd /working/copy/of/ProjA/trunk
svn propset svn:externals "libs $REPO/ProjD" .
svn ci -m "Adding external to bring $REPO/ProjD into this project
into a directory called libs"

It's explained in the book:

http://svnbook.red-bean.com/en/1.2/svn.advanced.externals.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 17 22:24:05 2006

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.