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

Symlinks from Linux making trouble in Windows

From: Henrik Ripa <henrik_at_nordnav.com>
Date: 2004-12-14 17:11:27 CET

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@subnav~/repos/test: svn st
0:gieron@subnav~/repos/test: ln -s /public/samba/nightly/ data
0:gieron@subnav~/repos/test: svn add data
A data
0:gieron@subnav~/repos/test: svn commit -m "Added a symlink."
Adding data
Transmitting file data .
Committed revision 118.
0:gieron@subnav~/repos/test: svn pl -v data
Properties on 'data':
   svn:special : *
0:gieron@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
...

-- 
Henrik Ripa - NordNav Technologies AB - Luleň/Sweden
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 14 17:16:50 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.