RE: [Subclipse-dev] Re: subclipse svn commit: r5091 - trunk/subclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/SVNMoveDeleteHook.java
From: Stephen Elsemore <selsemore_at_collab.net>
Date: Mon, 22 Aug 2011 06:50:04 -0700
My guess would be that we didn’t receive the Delete notifications because our move/delete hook did not trigger them, and the Eclipse delete (which would have triggered them) did not happen. I’ll look into doing everything in our move/delete hook.
From: Mark Phippard [mailto:markphip_at_gmail.com]
Reading between the lines, it sounds like you are saying you are doing this so that Eclipse will trigger the proper refreshes after the operation completes?
Did you look at why our NotificationHandler would not simply do it when it receives the Delete notifications?
On Mon, Aug 22, 2011 at 9:45 AM, Stephen Elsemore <selsemore_at_collab.net> wrote:
Eclipse doesnt have a problem if the resource has actually already been deleted. But I suppose this approach could cause a problem if there is some other move/delete hook in place that will get an error if it tries to handle the delete and the resource is not there. The alternative solution is to make sure our move/delete hook replicates everything that the Eclipse delete does.
From: Mark Phippard [mailto:markphip_at_gmail.com]
Drive by review ...
Is this the right thing to do? Doesn't SVN delete the actual folder/file? Is this change only applying to some specific scenario?
On Mon, Aug 22, 2011 at 9:33 AM, <selsemore_at_tigris.org> wrote:
Author: selsemore
Modified:
Log:
Modified: trunk/subclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/SVNMoveDeleteHook.java
deleteResource(resource);
}
@@ -113,8 +110,7 @@
/*
------------------------------------------------------
To unsubscribe from this discussion, please e-mail [unsubscribeURL]
-- Thanks Mark Phippard http://markphip.blogspot.com/ -- Thanks Mark Phippard http://markphip.blogspot.com/ ------------------------------------------------------ http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=2827606 To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].Received on 2011-08-22 15:50:09 CEST |
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.