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

Re: Does SubVersion allows to share a file/revision among multiple paths ?

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-07-15 16:43:35 CEST

Olivier Mascia wrote:

>All three paths (projects) need that mls.cpp file. Is there a way to
>have 'mls.cpp' appear in all three paths but being a single entity ?
>That is: if mls.cpp is modified by a commit touching path "sub1", the
>mls.cpp in sub2 and sub3 are instantly in synch too ?
>
>
You can't do this for individual files. You can use "externals"
definitions (look up svn:externals in the book) to have one folder
always pull in folders from another location (even another repository).
In that case you probably still would want to create a "common"
location, and have the projects that use it define that "common" folder
as an external.

>Is this achievable with current version 1.0x ?
>Is this part of 1.1 ?
>What are the plans ?
>Is this even a good idea ?
>
>
The only version control system I know of which supports what you're
talking about is Visual SourceSafe's "Links", but I would argue this is
a dangerous feature to use. I know it has created much confusion for my
team at work.

In 1.1, you can version symlinks if you're using a Unix-type system, but
I doubt that is really what you're looking for. They're filesystem
symlinks, not symlinks within the repository itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 15 16:44:00 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.