Ah, but my emails are being sent and received correctly. So the commit-email.pl is working as it should. I mainly added this to test that the REPOS and the REV were being set correctly, and the are.

Is it possible that there is a problem with my TRAC_ENV? I set this to the location of my trac webpage. There is one other snag, my trac website runs as a different user. Could this be causing problems, and if so, how do I get around that. Seeing that I can' change the owner on either side. Changing the owner on svn breaks my svn and changing the owner of the trac webpage breaks trac.

On Wed, 01 Jun 2011 08:09:54 -0400, Matthew Caron wrote:
On 06/01/2011 03:19 AM, [email protected] wrote:
Content svn post-commit hook:

====
#!/bin/sh
REPOS=$1
REV=$2

export PYTHON_EGG_CACHE='/home/ractoc/svn/FIT/hooks/tmp'

TRAC_ENV="/home/ractoc/fit.ractoc.com/trac"

/usr/bin/python
/home/ractoc/fit.ractoc.com/trac/contrib/trac-post-commit-hook -p
"$TRAC_ENV" -r "$REV"

Add debug output to this script. See what it is doing.

/usr/share/subversion/hook-scripts/commit-email.pl "$REPOS" "$REV"
[email protected]

And this one too.

The debugging output will help you determine where it is falling
down. It's possible that both of them are exiting because, for
example, the REPOS variable is wrong, or something.

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to