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

Re: file sharing like in VSS

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-02-22 16:46:55 CET

Akhil Srinivasan wrote:
> I'm trying to setup a shared code repository. There is a situation
> where i will need to have a couple of files shared across diffrent
> directories
> like foo.txt shared in CVSROOT/gameserver and CVSROOT/gameclient.

CVSROOT ... hehe ;)

Anyhow: as already mentioned, svn:externals does what you want. Well, almost:
the difference is that it only works on whole directories, not single files.

> if one copy of the file in CVSROOT/gameserver is checked out, i need
> the copy in CVSROOT/gameclient to show as checked out.

Oh, looks like someone skipped reading the Subversion book. Point is that
there is no such thing in Subversion as SourceSafe's 'checked out' state. The
difference is between the copy-modify-merge and the checkout-modify-checkin
ways of version control. The state of exclusive locking in Subversion, which
is related, is documented on the homepage.

> Is this feature availible in SubVersion and how would i do it?

Locking can currently only be replaced by communication. Shared files are even
in VSS dangerous, we are currently facing lots of problems due to their use -
maybe adding a preparatory script that 'svn exports' shared files from a
central location could do the job.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 16:46:18 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.