Using Python Scripts In Subversion Hooks On Windows
My main goal is to get this up and running. My hook gets called when I do the commit with Tortoise SVN, but it always exits when I get to this line: Python '%~dp0trac-post-commit-h
Solution 1:
Take the following things into account:
- network drive mappings and
subst
mappings are user specific. Make sure the drives exist for the user account under which the svn server is running. - subversion hook scripts are run
without any environment variables
being set for security reasons, not even
%path%
. Call the python executable with an absolute path, e.g.c:\python25\python.exe
.
Post a Comment for "Using Python Scripts In Subversion Hooks On Windows"