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

Re: How to convert a regular file to a sym link?

From: Saulius Grazulis <grazulis_at_ibt.lt>
Date: 2005-12-02 09:17:42 CET

On Thursday 01 December 2005 19:21, Noel Yap wrote:

> > Any further thoughts?
>
> Like I said before, don't keep symlinks under version control.

There is nothing bad in keeping symlinks under Subversion.

I use build systems that are extensively based on symlinks, and Subversion
handles my trees just fine. Actually, Subversion is the only VC system,
AFAIK, that handles symlinks nicely, and this is the main reason why I use
it ;)

Situations when links get converted to files and wice versa are, at least in
my practice, rare, and though unpleasant can by handled by shell automation.

> Rather, version control a script that creates the symlinks.

Brrrr... This sounds like too much complication for me.

I use links exactly for the reason that they permit to express relations
between file easily; the necessity to handles those relations with scripts is
too cumbersome, for my taste.

Although, such system would be more flexible and would permit to use VCSes or
filesystems that do not support symlinks -- an advantage in some cases.

> You'll
> never lose history if you only version control files.

AFAIU, subversion keeps history of symlinks as well, doesn't it?

-- 
Dr. Saulius Grazulis
Institute of Biotechnology
Graiciuno 8
LT-02241 Vilnius
Lietuva (Lithuania)
fax:          (+370-5)-2602116
tel.: office: (+370-5)-2602556
      mobile: (+370-684)-49802, (+370-614)-36366
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 2 08:58:06 2005

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.