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

[Subclipse-users] Externals property bug - folder UI

From: Hale,Katherine <halek_at_oclc.org>
Date: Wed, 25 Jun 2008 09:12:25 -0400

OS: Windows XP SP2
Eclipse: 3.3.2 Europa Winter build
SVN Team Provider Core: 1.2.4
Subclipse: 1.2.4 (I think that's the same thing - different panel)

Background:
We have a collection of projects. Rather than checking dependencies into
the repository multiple times, we have one project of just
distributions, and all the other SVN projects reference the jars using
the externals property. So a normal project looks like this:

MyProject
- externals

Nothing else is checked into the externals folder - it just has the
svn:externals property set to it.

Issue:
Sometimes the directories that are part of the external don't work
correctly. When the referencing project's folder is too deep, Subclipse
does behave as expected.

Base scenario that works:
<folder>/<folder> <URL>
But this one would not:
<folder>/<folder>/<folder> <URL>
This also does not work:
<folder>/<folder>/<folder>/<folder> <URL>

It seems very reproducible. When I do a checkout for the first time, all
of the folders & files come down in the right place. But the "middle"
folder(s) appear unversioned in the UI. However, when I view the same
folders in TortoiseSVN, this behavior does not occur.

So in this scenario:

MyProject/externals/<grandparent folder>/<parent folder>/<child
folder>/myjar.jar

Subsclipse behavior: <parent folder> will show as unversioned, and
'externals' will show as modified.

In contrast, TortoiseSVN behavior: 'MyProject' and 'externals' both show
as versioned but unmodified, <parent folder> has no markings at all,
<child folder> shows as versioned but unmodified, and 'myjar.jar' shows
as versioned and unmodified.
Received on 2008-06-25 15:12:54 CEST

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