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

Workspace capitalization problem

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-06-17 21:56:23 CEST

I think I found the source of this problem, unfortunately it is in
Eclipse. I entered a bug and a patch with them.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=100648

I suspect that the reason this problem suddenly "cropped up" is that
either Subversion or JavaHL started canonicalizing all of their paths. So
when we run svn status, the paths we get back are the canonical value.
When we try to convert them to resources to add them to the cache, Eclipse
gives back a null resource because internally it is doing an exact string
compare to see if it is a workspace resource.

Since there is apparently no way for us fix this problem, I am going to
look into adding some code in the UI plugin to check for when the problem
exists, and then put that code in the Checkout and Create Repository
actions. Hopefully, we can then inform the user of the problem and let
them correct their workspace before they start doing anything with
Subclipse. That should help nip this in the bud.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Sat Jun 18 05:56:23 2005

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

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