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

RE: three projects using the same file (symbolic links?)

From: Tom Malia <tommalia_at_ttdsinc.com>
Date: 2007-03-21 19:09:12 CET

I'm only getting familiar with SVN myself, but have been investigating
similar scenarios. Being on the Windows OS and subsequently not having the
advantage of symbolic links in the first place, I've been considering the
use of SVN externals instead... So far this appears to be a viable option
for me but it does have the limitation that the External property is applied
at the folder level not the file level so I have to put all my shared files
in a separate folder and then have my project build scripts for my project
structured such that they assume these files will be in a different (though
consistent) folder.

-----Original Message-----
From: Stefan Müller [mailto:Stefan.Mueller@cl.uni-bremen.de]
Sent: Wednesday, March 21, 2007 11:39 AM
To: users@subversion.tigris.org
Subject: three projects using the same file (symbolic links?)

Hi,

I have a question regarding the clever use of version control. I have
two projects that use one file:

project 1:

file1a
file2a
file3a

project 2:

file1b
file2a
file3b

In the example file2a is used by both projects. I want to have it in a
way that the changes I make in the directory of a project are
immediately visible in the other directory.

Without version control a symbolic link from project 2 to project 1's
file2a would do the job. I am currently using CVS and this overwrites
the symbolic link when I do a commit. The result is that I have two
different copies of file2a in the working directories.

From the SVN manual I got the impression that SVN does not override the
symlink, but it does not check in the file either. It just records the
fact that there is a symbolic link. I am looking for a way to work on
project 2, change file2a and have this change in the versioning system
when I do a commit.

Is this possible somehow with SVN?

Thanks and greetings

        Stefan

-- 
Stefan Müller
Universität Bremen/Fachbereich 10      Tel: (+49) (+421) 218-8601
Postfach 33 04 40
D-28334 Bremen
http://www.cl.uni-bremen.de/~stefan/
http://www.cl.uni-bremen.de/~stefan/Babel/Interaktiv/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 21 18:29:13 2007

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.