I'm a little confused by what you have done.
To enable the SVN hooks, you really only need to enable the 'post-commit' hook in your subversion hooks directory. There is already a template there (post-commit.tmpl) that you need to make executable and edit the particulars of the script for your installation. Cheers, Richard -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ying lcs Sent: January 17, 2007 12:22 PM To: [email protected] Subject: [Trac] Need help with trac-post-commit-hook command Hi, I am trying to get the 'trac-post-commit-hook' to work. When I 'svn commit' I already put 'Fix #4...' in my commit message: export TRAC_ENV=/srv/svn/tracenv $ ~/src/trac-0.10.3/contrib/trac-post-commit-hook -u yinglcs -m 'Fix standalone mode' -s http://localhost/tracprojects/sample -r 9 -p /srv/svn/tracenv/sample I don't see any error message from the command. I have change the path, '/srv/svn/tracenv', '/srv/svn/tracenv/sample', they are valid. And I have hit 'http://localhost/tracprojects/sample' with my browser, so the url is valid too. But I don't see anything changed, from the timeline of the Trac, there is no new activity. And when I view my tickets, it does not associate my changes with a specified ticket. Can you please tell me what am I missing. Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
