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

Re: shared files in SVN

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-11-16 00:32:59 CET

Natalya Smirnov wrote:

> How can a problem of shared files be solved in SVN?
>

Are you trying to share common code across projects, or a single working
copy across developers? The first problem is solvable using
svn:externals to "pull" other shared projects into a higher level
project. More info on externals is here:
http://svnbook.red-bean.com/en/1.0/ch07s03.html

If you have a "util" project which your "billing" project depends on,
you might end up with this kind of structure:

/trunk/util/...
/trunk/billing/...

and then do "svn propedit svn:externals" on a checked out copy of
billing, and set the property to

dependencies/util svn://myserver/trunk/util

This way the Subversion client checks out the contents of util and puts
it inside dependencies/util in your billing project.

I think developers sharing working copies works okay now (there were
some bugs but they've been ironed out).

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 16 00:33:21 2004

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.