Thank you.
i add this in post-commit, and i make sure /tmp is writable by
everyone.
/usr/bin/python
/srv/svn/repositories/project/hooks/trac-post-commit-hook \
-p "$TRAC_ENV" \
-r "$REV" \
-u "$AUTHOR" \
-m "$LOG" \
-s "$TRAC_URL" 2>> /tmp/trac.log
drwxrwxrwt 45 root root 4096 Jan 25 00:14 tmp/
But it does not create any 'trac.log' after i did a 'svn commit' again.
Thank you for any pointers.
On Jan 24, 4:55 pm, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote:
> Try to dump the error output to a log file, and examine the content of
> this log file after a commit operation.
>
> Simply add a stderr redirection:
>
> /usr/bin/python
> /srv/svn/repositories/project/hooks/trac-post-commit-hook \
> -p "$TRAC_ENV" \
> -r "$REV" \
> -u "$AUTHOR" \
> -m "$LOG" \
> -s "$TRAC_URL" 2>> /tmp/trac.log
>
> (be sure that /tmp is writable for any user)
>
> Cheers,
> Manu
>
> On 1/24/07, ken <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am trying to setup trac-post-commit-hook in subversion. After I
> > execute 'svn commit -m 'Fixes #134' ', I don't see the ticket gets
> > updated (set the state to 'closed').--
> Manu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---