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

Re: [Subclipse-dev] [Patch] Deleted resources leave phantoms

From: Manfred Klug <manklu_at_web.de>
Date: 2006-10-21 09:06:46 CEST

> -----Ursprüngliche Nachricht-----
> Von: Mark Phippard <markp@softlanding.com>
> Gesendet: 19.10.06 18:36:42
> An: dev@subclipse.tigris.org
> Betreff: Re: [Subclipse-dev] [Patch] Deleted resources leave phantoms

> Manfred Klug <manklu@web.de> wrote on 10/19/2006 11:59:38 AM:
>
> > Performance Problem
> > ---------------------------
> >
> > The synchronize view grabs all resources including the phantoms. At
> least
> > one getStatus call is
> > done for every resource. And as consequence, a svn status call for each
> > orphaned phantom takes place.
>
> I sort of got this, although this explanation helps. The part that I
> still do not know, is what exactly a phantom is

AFAIK a phantom is a resource for which eclipse has data (e.g. sync info) but that
doesn't exist in the filesystem.

> and how I can create them,

Delete some versioned resources and commit the change.

> and know I did for testing purposes. In other words, what recipe
> demonstrated the problem and fix.

This is not so easy since there is no visible indication that the phantom exists.

I used the 'Resource Tools'->'Delta Spy' from the eclipse Core Tools to verify the patch. Without the patch,
you must delete the project from the workspace to see the deletion of the phantoms. With
the patch it occurs immediately after the commit.

Additionally you can use the 'Metadata Tools'->'Dump Contents' to look at the saved sync info.

You can find the core tools here: http://www.eclipse.org/eclipse/platform-core/downloads.php

Manfred
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Sat Oct 21 09:07:30 2006

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