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

[TSVN] Problem with handling certain symlinks

From: Claudius Regn <cregn_at_dualutions.de>
Date: 2005-01-10 13:45:40 CET


it looks like TortoiseSVN's update command has a problem with symbolic
links in a Linux svn repository / working copy:

I have symbolic links in my Linux repository: some point to a
file/folder within the project's folders (i.e. within the repository),
and some point to a non-versioned file/folder outside the project's
folders (i.e. the target is not included in the repository). (When the
project is checked-out as a working copy by a project's developer, there
is a target existing that those links point to. The working copy is also
stored on the same Linux machine).

Using Tortoise from Win XP seems to work fine in most aspects, even when
accessing the links (which of course look like regular folders/files to
Explorer). By the way, I do not change the links under Windows, which
wouldn't work of course.

There is one minor and one more annoying problem:

(1) SVN Commit marks the links that point *outside* the repository as
"obstructed". This isn't a problem, though, as I don't change/commit the
links anyway.

(2) SVN Update has a problem with *outside* links as follows: assume I
have 2 outside links. Executing Tortoise's SVN Update, I get a popup
error telling me about link #1 only (object exists), then I can press
ok. Running Update for the second time, it only tells me about link #2
(object exists). Running Update for the third time, it says everything
is fine, both links are shown in the log window as changed, and
everything else is updated correctly. When I would run Update for the
fourth time, it starts from the beginning, telling me about link #1, and
so on.

Those links are correctly marked as svn:special in the properties of the
repo browser.

All in all, we can work with it, but the necessary repeating of the
Update Command as often as there are numbers of *outside* links is a bit

Is there anything we do wrong, and where does the difference in behavior
regarding links pointing within the repo and outside come from?

Thanks and rgds,

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 10 13:44:39 2005

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