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

Re: Subversion integration?

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-11-23 03:44:36 CET

Hello Gerard !

Gerard Toonstra wrote:
> What is the best point in SVN to trap these events, catching the
> revision number too? I expect that at this time, I will end up hacking
> some library somewhere to create a plugin-point there. Also, should it
> be possible to transact with SVN commits somehow, meaning that if my db
> update fails on my incident/review tables, the SVN commit does not take
> place ( or in worst case, can I roll back the changes? less
> optimal due to ACID-ity, but it gets me started :). I don't want to
> change anything related with the revision, just catch info and pass it
> on elsewhere.

You won't need to hack anything. Subversion already provides everything
you need in the form of hooks. There are pre and post commit hooks,
plus a few other ones.

See the Subversion book for more information.

As for the quality of the JavaHL bindings, I've used them myself in some
toy project, and they worked nicely. They JavaHL bindings are
"maintained" by Patrick Mayweg. At least, he's the one who's been
working on them the most. He's built a plugin for IntelliJ IDEA, which
you can view at http://svnup.tigris.org/

Hope that helps !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 23 03:45:10 2004

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

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