I'm trying to send emails when a user locks/unlocks elements in a SVN repository through a hook using the Apache Mailer script (mailer.py). When the suitable hook is executed I'm obtaining the following error:
You need version 1.5.0 or better of the Subversion Python bindings.
I have installed the following tools:
- VisualSVN 3.3.1 (Subversion 1.8.13)
- Python 3.5.1 (I've tried with 32 and 64 bits versions)
- Python SVN Extension (pysvn) v1.8 (for Python v3.5 and SVN 1.8.14)
Furthermore, I have Subversion 1.8.13 source code available.
The suitable hook (post-lock.cmd) has the following unique line:
<pythonHome>python.exe <repositoryHooks>mailer.py "%1" "%2" <repositoryHooks>mailer.conf
I've configured the PYTHONPATH as:
<subversion-1.8.13SourceCodePath>\subversion\bindings\swig\python;<pythonHome>/Lib;<visualSVNPath>PythonPackage
All the above configuration provokes the mentioned error.
Any idea of where I could obtain the 1.5.0 Python Subversion bindings and how I could configure them to allow the mailer script execution without errors?
Thank you so much in advance.