Here is my post-commit-hook:

{{{
#!/bin/bash

REPOS="$1"
REV="$2"
TRAC_ENV="/usr/local/trac/AirportBill"

/usr/bin/sudo -u brad /sw/bin/python2.5 
/usr/local/bin/trac-post-commit-hook -p "$TRAC_ENV" -r "$REV"
}}}

and I have the latest trac-post-commit-hook for version 11.

I forgot to mention that the current failure is *silent* - I get no 
error messages (since fixing paths and perms) - just that my tickets are 
never updated :(




Brad Milne wrote:
> Hi all
>
> I've seen this problem mentioned a number of places, but nothing I've 
> tried has managed to get it running yet. Once I work it out I'd like to 
> add it to the OS X install page for trac on the main wiki.
>
> After changing permissions and path to python in the script, plus 
> ensuring I have the latest trac-post-commit-hook script, it still 
> doesn't work when I commit.
>
> 'env - ./post-commit /svn/test 7' doesn't give any error messages. 
> Should I expect any other outcome from running this?
>
> I'm running 11.5
>
> Thanks
> Brad
>
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
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