I would like to have post-commit hook for Tortoise SVN. I have got mailer.py downloaded from http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/mailer/ and trying to get it work as indicated in its documentation.
I just renamed the post-commit.tmpl to post-commit.bat and put in the following lines to invoke mailer.py
set REPOS=%1
set REV=%2
set TXN_NAME=%3
start python %REPOS%\mailer.py commit %REPOS% %$REV% %REPOS%\hooks\mailer.conf
When I do perform SVN commit, the python scripts reports an error "You need version 1.0.5 or better of the Subversion Python bindings".
I surfed in stackoverflow and it suggested me to download the python bindings from http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/. But I'm clueless on how to build this for windows and get it work for me.
I've Tortoise SVN and Python33 installed in Windows 7. Please help me to get rid of this issue "You need version 1.0.5 or better of the Subversion Python bindings".
Thanks in advance.