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

Re: Using links

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Thu, 13 Nov 2008 03:48:08 -0600

On Nov 13, 2008, at 01:29, Ilan Yaniv wrote:

> I have this project – project1. There are two versions to the
> project ie ver1 and ver2. Both versions are in two different branches
> They are different. Ver2 is completely new.
>
> I have another project ie project2 it is parallel to ver1, and also
> using it resources, so it is under ver1 branch.
> But it is also using ver2 resources.
>
> I want project2 to be in both branches, (ver1 and ver2), but as a
> link. So if I do a “check in” for project2 files I’ll see them in
> both branches (ver1 and ver2).
>
> Is links also allowed in SVN?

Not exactly like that....

What you should probably do is move project2 out of project1 so that
it stands on its own. Then, add externals definitions where
appropriate so that the two projects can share the parts they need to
share. See the book for more on externals:

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-13 10:48:55 CET

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.