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

Symbolic link bug? Untouchable link files?

From: Karol Szkudlarek <karol_at_mikronika.com.pl>
Date: 2005-06-08 16:55:39 CEST

Hi Phillip!

Maybe this is the similar issue... But the worst thing is that now
symbolic links aren't safe to use with dual environments
(Windows/Linux). You can very simple corrupt repo.

Phillip Susi wrote:
> I wasn't aware that svn even supported symlinks ( from the repository )
> on windows, but if it does, I'll bet that this is the same bug that I
> reported about a month ago. Subversion has a bug in the way that it is
> calling apr_stat which causes it to bork on symlinks to directories.
> The bug ticket can be found here:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2284
>
>
>
> Karol Szkudlarek wrote:
>
>> Hi!
>>
>> I have problem with my repos and symbolic links and develop cross
>> platform Windows/Linux.
>> I have repos with one sym link to directory created on Linux.
>> My friend checkout (on Windows) repos and accidentaly touched link file,
>> modified some other files and tried to commit chages... After those
>> operations I was unable to fetch changes from repos to my working copy.
>>
>> After all is not possible to work on working copy (svn up, svn cleanup).
>>
>> Here are steps to reproduce probably a bug:
>>
>> On server I created repos:
>>
>> $ svnadmin create /var/svn/testowy2
>>
>> (dbd backend, svn 1.1.2)
>>
>> On 1st client (linux, svn from trunk) I did:
>>
>> $ svn co svn+ssh://ksi/var/svn/testowy2
>> $ mkdir a
>> $ ln -s a link
>> $ svn add a
>> $ svn add link
>> $ svn ci -m"test lin"
>>
>> On 2nd client (Windows, svn 1.1.4) I did:
>>
>> $ svn co svn+ssh://ksi/var/svn/testowy2
>> $ cd testowy2
>> $ touch testowy2
>> $ svn ci -m "test win"
>>
>> and svn commit return error and after it I can't work with my rep.
>>
>> svn cleanup returns:
>>
>> svn: In directory ''
>> svn: Error processing command 'committed' in ''
>> svn: Error replacing text-base of 'link'
>> svn: Unsupported special file type ''
>>
>> And checkout on 2nd clients returns:
>>
>> C:\tmp>svn co svn+ssh://ksi/var/svn/testowy2 testowy3
>> A testowy3\a
>> A testowy3\link
>> svn: In directory 'testowy3'
>> svn: Unsupported special file type ''
>>
>>
>> and svn up on 1st client returns:
>>
>> svn up
>> U link
>> svn: In directory '.'
>> svn: Unsupported special file type ''
>>
>>
>> Regards,
>> Karol
>>
>> ps. Please help me asap.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 8 17:09:11 2005

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.