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

Re: [Subclipse-users] Hooking into the commit (checkin) action

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-09-22 15:36:56 CEST

"J B" <moatas@gmail.com> wrote on 09/22/2006 09:33:24 AM:

> I understand how hook scripts work. But I am looking for a client side
hook
> using subclipse. Our users can connect to many servers, each of them
backed
> by a central subversion repository. When connecting to the remote
server,
> the server returns a unique identifier, and the subversion repo address.
 
> Our client will checkout the necessary project from subversion based on
this
> info. Once a user commits a change, we want to immediately notify the
> server they are working with.
>
> I suppose this could be handled with hook scripts, but I do not want to
go
> that route. So given that, is their any integration with subclipse that

> will allow us to 'hook' into that action?

We do not have any explicit client-side hooks, so in that sense No.

There might be other ways. Subclipse has the concept of NotifyListeners.
For example, the console view is one of these. It is notified of events
and logs messages in response. You could potentially add yourself to the
list and then listen for commits. I can't say for certain whether
everything you need to do this is in place or not, but if you could, it
would be a way to do it that did not require modifying Subclipse.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Sep 22 15:38:13 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.