
me at mattgillen
Jan 17, 2007, 10:25 AM
Post #6 of 15
(4456 views)
Permalink
|
|
Re: Need help with trac-post-commit-hook command
[In reply to]
|
|
There a couple reasons you'd need to run the script outside of the normal SVN hooks location. One reason is that he made commits before installing the hook and wants Trac to recognize that. Richard Matsunaga wrote: > > 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: trac-users [at] googlegroups [mailto:trac-users [at] googlegroups] On > Behalf Of ying lcs > Sent: January 17, 2007 12:22 PM > To: trac-users [at] googlegroups > 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 trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|