Post-commit hook failed

svnsvn-hooks

We are working on sending email notifications of SVN commits and we are following the steps oulined here: http://sandilands.info/sgordon/email-notifications-of-svn-commits

When testing, we get following errors:

Error: post-commit hook failed (exit code 127) with output:
Error: /repos/cle/hooks/post-commit: 50: commit-email.pl: not found
Error: /repos/cle/hooks/post-commit: 51: log-commit.py: not found

Anyone wish to share their experiences?

Best Answer

Looks like it can't find (and thus cannot execute) commit-email.pl and log-commit.py. You either need those in the path or specified with a full path when calling (as well as making sure you even have these).

Related Topic