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

svn does not work on 'directory symbolic links' (junctions) on windows(XP) (was: svn & junctions ...)

From: lorenz <lorenznl_at_yahoo.com>
Date: Tue, 09 Dec 2008 11:50:12 +0000

lorenz wrote:
>there seems to be a problem in the windows command line client when
>'directory symbolic links' come into play.
>
>>I'm trying to use 'Directory symbolic links' (NTFS junctions) to share
>>a working copy between two development environments (Assembler and
>>Delphi, where the assembler output is embedded in the Delphi
>>application).
>>
>>To reproduce the problem:
>>
>> co url path-to-tmp-dir
>> cd path-to-tmp-dir
>> junction junctionToWC path-to-existing-WC
>>
>>svn info junctionToWC
>>
>> svn: '.' is not a working copy
>> svn: Can't open file '.svn\enties': ...
>>
>>
>>svn info path-to-tmp-dir\junctionToWC
>>
>> svn: 'path-to-tmp-dir' is not a working copy
>> svn: Can't open file 'path-to-tmp-dir\.svn\entries': ...
>>
>>
>>I can work around the problem, by cd-ing into junctionToWC and calling
>>svn from there.

In the meantime I discovered Issue 3208, that describes a similar
problem.

And I encountered situations where TSVN also does not work correctly
in symbolic links (property dialog, show log, repo browser, ...),
while other function work correctly (check for modifications, revert,
...)

So it seems the problem is located in the libraries.
Part of the API does not deal with symbolic links, other parts do.

-- 
Lorenz
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=981613
Received on 2008-12-09 12:55:46 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.