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:55:55 -0700
We shouldn’t because we expect our resource change listener to handle it. Which it will, as long as our move/delete hook does what it needs to do to trigger it, or delegates it to Eclipse.
From: Mark Phippard [mailto:markphip_at_gmail.com]
The console showed SVN messages about delete, so that means it went to our NotificationHandler. Do we sent notifications to refresh resources when we receive the delete notification from SVN?
On Mon, Aug 22, 2011 at 9:50 AM, Stephen Elsemore <selsemore_at_collab.net> wrote:
My guess would be that we didnt 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. Ill look into doing everything in our move/delete hook.
From: Mark Phippard [mailto:markphip_at_gmail.com]
To: dev_at_subclipse.tigris.org
Subject: Re: [Subclipse-dev] Re: subclipse svn commit: r5091 - trunk/subclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/SVNMoveDeleteHook.java
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/ -- Thanks Mark Phippard http://markphip.blogspot.com/ ------------------------------------------------------ http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=2827608 To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].Received on 2011-08-22 15:56:00 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.