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