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

Re: [TSVN] Re: symbolic links - unix to unix via Tortoise

From: Markus Schuh <markus.schuh_at_sdm.de>
Date: 2005-08-10 17:26:33 CEST

>>>Since your're checking out in windows
>I'm not. I'm using Tortoise but both the repository and target are on the
>unix side.

The target is on a unix side but seen through windows glasses. (samba)

If you use TortoiseSVN your process runs inside windows and it is
limited through the different API's.
Checking out a symbolic link from a svn repository takes place in (at
least) two steps:
a) Get the elemet through the relevant SVN API (irrelevant if you use
http, https svn, file or what else)
b) Store the element in your working copy:
TortoiseSVN sees: This element should be a symbolic link, try to store
it as an symbolic link in the working copy
Since their is no such exact functionality as a symbolic link in the
Windows filesystem API, SVN (and therefore TortoiseSVN) tries its best:
The symbolic link is stored as a textfile with content "link <name of
target>" and the working-copy "knows" that this is a special file
(property svn:special is set)

You can not expect samba knows, that text files with content "link <name
of target" should be stored as symbolic links in the physical unix file
system, do you? Well theoretically it should be possible to hack the
samba code, but who cares?

>That's what I am going to do. In the meantime, I'm just using the
Well, I'm using "SVN 1.2.1 (r15230)" and "TortoiseSVN 1.2.1, Build
4081" here and I can not see any single difference between both when
treating svn elements of type "symbolic links". Both programs can handle
them perfectly. There is only one thing: I can not expect: to use the
symbolic link as symbolic link in my working copy even if this is stored
inside a samba share hosted on unix.
I can even change the symbolic link on windows: Open the text file,
change the text and commit the change. When I check it out with svn
inside a unix box the symbolic link now has a new TARGET. What else do
you need?

You need 100% unix file system support inside a graphical svn client?
Then use X-Windows on your windows box, which can start the graphical
svn client on the unix box bringing it's output to the Windows display.
You have the choice: Sepearate Unix and Wndows on the "file system"
level or separate them on the "display level".
For discussing about graphic clients other than TortoiseSVN you you
should use another mailing list. This one is about TortoiseSVN.



To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 10 17:27:00 2005

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

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