On Sep 15, 4:33 pm, Brad Milne <[email protected]> wrote:
> 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

Just out of curiosity....


shouldn't the part or the shell call that reads "/usr/local/bin/trac-
post-commit-hook"
read "/usr/local/bin/trac-post-commit-hook.py"   ?

While technically not required, unless you explicitly changed the file
name to exclude the extension in download or copy.
--~--~---------~--~----~------------~-------~--~----~
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