Reputation: 696
Does SVN have client-side hook support like in TortoiseSVN? I need a hook so that when I send a commit the browser opens a specific url.
Upvotes: 8
Views: 3253
Reputation: 182
Use an alias for SVN i.e. a python script that validates your inputs then forwards the call on to the real SVN. It might take a bit of work to get advanced functionality though, such as understanding changelist content, but there's libraries which can help and if you hunt around the internet someone has probably make something similar to what you want already.
http://pysvn.tigris.org/ http://top-frog.com/2009/04/23/client-side-pre-and-post-svn-hooks-with-unix-aliases/
Upvotes: 3