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

[Subclipse-users] Soft links treated as deleted in Sync view if the target is not present under OS/X

From: Seb Baz <sebbaz_at_gmail.com>
Date: Wed, 27 Aug 2014 17:32:05 +0100

If an OS/X workspace contains a soft link that points to a
non-existent file (e.g. it is in another part of the repo that has not
been checked out) then Eclipse shows the link as a deleted (missing)
file.

However, the SVN CLI client does not show any such missing file.

This is not a problem on Windows as soft links are not implemented.

I've not been able to try this on any other Un*x-like system yet, but
I suspect it is not just an OS/X issue.

To demonstrate the problem, check out the following:

[1] https://dist.apache.org/repos/dist/release/commons/cli/source

The Navigator view does not show any problems, but after running
Team/Synchronize, the Synch view shows deleted markers against the two
html files. Also the html files don't appear in the Navigator view.

Compare the behaviour with a checkout of

[2] https://dist.apache.org/repos/dist/release/commons/cli

In this case, the target of the link is present in the workspace, and
everything looks OK.

In the case of [1], if the file README.html is created in the parent
directory of the workspace, the deleted file disappears from the Sync.
View and appears in the Navigator view with a small arrow on the icon.

It's quite confusing for the soft link to be shown as deleted just
because the target is missing.
This should not really make any difference - the file that represents
the soft-link is still present and has not been changed, so I would
expect Subclipse to show it normally. Note that SVN CLI does not show
anything missing from the workspace, so I assume this is a Subclipse
bug. The behaviour is not affected by the transport - SVNKit and
JavaHL show the same behaviour.

Subclipse core 1.10.5
Version: Kepler Service Release 2
Build id: 20140224-0627
OS/X 10.9.4

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3087333

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2014-08-27 18:38:51 CEST

This is an archived mail posted to the Subclipse Users mailing list.

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