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

Re: [Subclipse-dev] giving a shot at fixing deletions

From: Hugo Visser <joegi_at_scene.nl>
Date: Tue, 15 Jul 2008 19:42:41 +0200

Hi Mark,

On Jul 13, 2008, at 4:32 PM, Mark Phippard wrote:
> 2) When the code does work, your .svntmp file is showing up in the
> Eclipse view. Refresh gets rid of it.

Here's a reworked version of the patch. I'm now using a WorkspaceJob
to do the actual revert and I don't have to manually refresh the
status cache that way. That looked a kind of icky anyway. I've tested
it both on windows and mac, and I haven't seen the refresh issues

I also added a minor patch to the FileMoveDeleteHook to not to refresh
the workspace if a folder is deleted. This solves an issue with the
TeamPrivateListener. Sometimes when you delete some packages it fails
to mark the .svn directory as team private because the .svn/entries
file isn't there yet or isn't refreshed yet. As the directory isn't
actually deleted (just marked as such) I guess there's no need to let
Eclipse refresh the tree.

I've also implemented equals and hashCode on LocalResource so that I
was able to use check if the resource is already contained in a

BTW, if you want me to create issues for this in the issue tracker,
let me know.


To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org

Received on 2008-07-15 19:43:00 CEST

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