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

Re: how to check in a symlink?

From: Jeff Bowden <jlb_at_houseofdistraction.com>
Date: 2004-04-04 19:43:14 CEST

Travis P wrote:

>
> On Apr 4, 2004, at 10:46 AM, Brian W. Fitzpatrick wrote:
>
>> On Sun, 2004-04-04 at 10:41, Robert P. J. Day wrote:
>>
>>> On Sun, 4 Apr 2004, Travis P wrote:
>>>
>>>> That's unfortunate, that's a feature that would be really useful.
>>>
>>>
>>> uh ... yeah, since that's a common complaint about CVS. i'm curious --
>>> how difficult is this? admittedly, i haven't thought about it very
>>> hard,
>>> but does supporting symlinks really represent a level of complexity
>>> that
>>> requires an actual "plan"?
>>
>>
>> Absolutely. The world that Subversion lives in is made up of many
>> different operating systems, and symlinks aren't the same thing on all
>> of them.
>
>
> On Apr 4, 2004, at 10:47 AM, Erik Huelsmann wrote:
>
>> Since the concept would have to be portable over several different
>> OSes, I
>> guess some thorough work needs to be done in order to get it "just
>> right". One
>> of the problems would be: what would a working copy with symlinks in
>> them
>> look like on Windows?
>
>
> With deference to Erik and Brian's comments (and now John's), my
> perception is also that it is a common CVS complaint and one that I
> definitely hoped Subversion would alleviate (and maybe someday it
> will, but the prognosis indicates it won't be soon).
>
> Re: the cross-platform issue
> Do any other VC systems attempt to handle the challenge?
>
> Re: workarounds
> My current idea for a workaround is to put .symlinks file in
> directories that need them with content like:
> #!/bin/sh
> ln -sf execWrapper.pl wrappedprog
> and then have a wrapper that kicks off a 'find' to find and execute
> them on checkouts/updates. It would be nice to kick it off in the
> background since I wouldn't necessarily want to wait for it most of
> the time. But then, in cases where I need the links to be in place, I
> wouldn't know when it was finished. Maybe I'll just require the
> execution of an update-symlinks command (that would be same type of
> 'find' idea, but could be foreground or background and re-executed
> whenever desired).
>
> I've rejected the idea of using properties because that won't work
> with export.
>
> Anybody already tackle this and have any advice to share?

I posted this scheme
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=8168 a
few weeks ago. After posting it, Ross Mark pointed out his solution
http://www.contactor.se/~dast/svnusers/archive-2003-08/0255.shtml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 4 19:43:59 2004

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.