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

Re: Re: [Subclipse-dev] Subclipse leaves files out of sync after checking out

From: Mark Phippard <mphippard_at_collab.net>
Date: Thu, 18 Dec 2008 10:49:14 -0500

On Thu, Dec 18, 2008 at 10:28 AM, <postmaster_at_tigris.org> wrote:
> So I assume that each notification you receive from SVN results in a separate synchronization call to the workspace. Does the set of notifications have a "start" and "end" call? I ask this because if you knew when SVN was done checking stuff out, then you could wrap everything in one workspace runnable and do something like:
>
> Workspace.run(theOp, workspaceRoot, IWorkspace.AVOID_UPDATE, someMon);
>
> I put the AVOID_UPDATE flag in there so resource change listener are not called until the project has settled. This will make the entire operation more atomic.

The SVN notifications do not have an explicit start and end but we
know when it starts and when it end. We relay the notifications to
Eclipse and it relays them back to any listeners, including us. So
our code that processes the status updates actually gets them from
Eclipse not SVN. I've not worked with this code myself in depth, but
that is my understanding.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=986768
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2008-12-18 16:49:40 CET

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.