[Trac] Re: Need help in Setting trac-post-commit-hook in subversion

2007-01-25 Thread ken
AM > To: trac-users@googlegroups.com > Subject: [Trac] Re: Need help in Setting trac-post-commit-hook in > subversion > > > But it does not create any 'trac.log' after i did a 'svn commit' > again. > > > Thank you for any pointers. > > Is your

[Trac] Re: Need help in Setting trac-post-commit-hook in subversion

2007-01-25 Thread David Herman
-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Blot Sent: Thursday, January 25, 2007 9:06 AM To: trac-users@googlegroups.com Subject: [Trac] Re: Need help in Setting trac-post-commit-hook in subversion > But it does not create any 'trac.log' after i did a '

[Trac] Re: Need help in Setting trac-post-commit-hook in subversion

2007-01-25 Thread Emmanuel Blot
> But it does not create any 'trac.log' after i did a 'svn commit' again. > > Thank you for any pointers. Is your post-commit file (in the svnrepos/hooks directory) executable bit set for the 'user' that runs your Subversion engine (Apache or svn) ? Cheers, Manu --~--~-~--~~

[Trac] Re: Need help in Setting trac-post-commit-hook in subversion

2007-01-24 Thread ken
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 drwxrwxr

[Trac] Re: Need help in Setting trac-post-commit-hook in subversion

2007-01-24 Thread Emmanuel Blot
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