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

Re: question on symbolic links and windows

From: Sam Barnett-Cormack <s.barnett-cormack_at_lancaster.ac.uk>
Date: Wed, 17 Sep 2008 18:40:08 +0100

Andy Levy wrote:
> On Wed, Sep 17, 2008 at 13:19, Steve Whitson <steven.whitson_at_gmail.com> wrote:
>> I have the need to support symbolic links in my repository. But, when
>> checked out on windows I'm not getting the regular file the symlink points
>> to, but instead end up with a text file having content "link
>> ../somefile.txt".
>>
>> For example, my repsoitroy has the following structure as a test
>> ./test.txt
>> ./testfolder/test.txt -> ../test.txt
>>
>> When this is checked out on windows the file .\test.txt is fine, but the
>> file testfolder\test.txt contains the text "link ../test.txt".
>>
>> What am I doing wrong?
>
> Nothing. Symlinks don't work on Windows. NTFS lacked the ability to
> create true *NIX-like symlinks until Vista was released, and
> Subversion doesn't attempt to guess at whether that functionality is
> available or not - it assumes that it's not if you're on Windows.

Yeah, but last I checked the docs say that, on non-symlink platforms, a
regular file that's a copy of the one the symlink points to will be
created. I think.

-- 
Sam Barnett-Cormack
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-17 19:40:44 CEST

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.