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

Re: svn commit with symbolic link under windows

From: Karol Szkudlarek <karol_at_mikronika.com.pl>
Date: 2005-02-23 12:59:45 CET

Hi!

I found that it is the issue #2173. Has anybody is working on it? This
defect is very annoying when you work with subversion links both under
Windows and Linux.

Greets,
Karol

Karol Szkudlarek wrote:
> Hi!
>
> I have the same problem as was reported by Henrik Ripa at
> users@subversion list in 15 Dec'04. I have question about current state
> of that bug. Is it fixed or opened, because I can't find anything about
> that bug with svn 1.1.x client.
>
> Regards,
> Karol
>
> ps.
>
> The original post (http://svn.haxx.se/users/archive-2004-12/0799.shtml)
>
> Hello Subversion users
>
> I'm using Subversion (among other things) to manage some web pages under
> Linux. One of these pages needs a directory that exists elsewhere in the
> file system. So I thought I'll use a symbolic link to that directory and
> put that into Subversion. This way I can move it around if I need to.
>
> I mostly manage these web pages from Windows and herein lies the
> problem. Svn under Windows freaks out when it sees that symlink. If I
> try to commit a get an error saying "... has unexpectedly changed
> special status". I have put in a transcript that shows the problem below.
>
> I was under the impression (from reading the FAQ) that Windows would
> just ignore the specialiness of the symlink and use it as an ordinary
> file. So, am I doing anything wrong or just thinking wrong or...?
>
> Here is a transcript that shows the problem:
>
> First under Linux
> -----------------
>
> 0:gieron_at_subnav~/repos/test: svn st
> 0:gieron_at_subnav~/repos/test: ln -s /public/samba/nightly/ data
> 0:gieron_at_subnav~/repos/test: svn add data
> A data
> 0:gieron_at_subnav~/repos/test: svn commit -m "Added a symlink."
> Adding data
> Transmitting file data .
> Committed revision 118.
> 0:gieron_at_subnav~/repos/test: svn pl -v data
> Properties on 'data':
> svn:special : *
> 0:gieron_at_subnav~/repos/test: svn --version
> svn, version 1.1.0 (r11180)
> compiled Oct 1 2004, 10:24:30
> ...
>
> Then under Windows
> ------------------
>
> C:\Desk\Repos\test\henrik>svn up
> A data
> Uppdaterade till revision 118.
>
> C:\Desk\Repos\test\henrik>svn st
> ~ data
>
> C:\Desk\Repos\test\henrik>svn commit -m "Trying to commit although I
> didn't change anything."
> svn: Commit failed (details follow):
> svn: Entry 'C:/Desk/Repos/test/henrik/data' has unexpectedly changed
> special status
>
> C:\Desk\Repos\test\henrik>svn pl -v data
> Properties on 'data':
> svn:special : *
>
> C:\Desk\Repos\test\henrik>svn --version
> svn, version 1.1.1 (r11581)
> compiled Oct 23 2004, 14:47:47
> ...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 23 13:00:59 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.