[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: executing python in post-commit shell script failing..?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-07-07 12:55:36 CEST

On Jul 6, 2007, at 16:44, aaron smith wrote:

> hey all, i've got a post commit set up. and i'm trying to add in
> the subverssed.py script. i put the subverssed.py file in the same
> dir as the post-commit, and in the post-commit i put "python
> subverssed.py". I also make the file executable. Not sure what else
> would be causing it to fail.
>
> any ideas?

In the hook script, use absolute paths for everything, e.g.:

/usr/bin/python /complete/path/to/subverssed.py

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 7 12:56:39 2007

This is an archived mail posted to the Subversion Users mailing list.