[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 04:04:30 -0600

On Nov 13, 2008, at 03:53, Ilan Yaniv wrote:

> Ryan Schmidt wrote:
>
>> 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
>
> That's what I was offering to the development department.
> Sure by CM aspect, this is what the team must do.
>
> But he insisted that Project2 should be as part of ver1 -> in the same
> branch.
>
> I am not sure that using links is something that CM would actually
> want
> to have. It is messy and can be dangerous.
>
> But I've been asked so I raised the subject anyway.

The other option is to make normal UNIX symlinks and check them into
the repository. That doesn't work on Windows though.

P.S: Use Reply All so your reply goes to the list too, not just to me.

---------------------------------------------------------------------
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 11:04:59 CET

This is an archived mail posted to the Subversion Users mailing list.