[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: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Thu, 13 Nov 2008 12:10:28 +0200

Hmmm interesting.
1) Would it be for windows someday? Would you say that a UNIX\Linux
server might be better to host SVN?
2) Does it works for Linux servers too?
3) If I use UNIX links, then when I create a branch, the link is also
branched, and Tags are for both projects?

Thanks
Ilan Yaniv

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008c_at_ryandesign.com]
Sent: Thursday, November 13, 2008 12:05 PM
To: Ilan Yaniv
Cc: Subversion Users
Subject: Re: Using links

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:11:23 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.