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

RE: Symlinks as what they represent?

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-03-30 16:28:33 CEST

> From: Peter Gebauer [mailto:pgeba@it.su.se]On Behalf Of Peter Gebauer
>
> Is it possible to use symlinks as what they represent instead
> of revision controlled files?

(I think in the Unix universe this behavior is called "following symlinks".
So you want to say "Can Subversion be made to follow symlinks in the WC?)

For individual files, you can use "hard links" to get the right effect
(because the kernel does the work). But for various reasons, using a "hard
link" to make a directory appear in two different places is not a good idea.

Off the top of my head, I don't see any reason why the client couldn't
follow a symlink in the WC, but it would not be what you'd want the client
to do by default. Unfortunately, this seems to be another example of
"client only annotation of a WC", like when you want to check out only three
subdirectories of a particular directory, you need some way to permanently
mark the WC directory so "svn update" doesn't fill out the directory. And
there's no mechanism for that.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 30 16:32:37 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.