Enable Trac CVN Post Commit Hook

I have a jumpbox (regsitered so I have ssh access) and I'd like to add this trac-svn-post-commit-hook so that I can simply add text such as "fixes #2" to updated the status of the ticket.

http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook

How can I do this?

Enable Trac CVN Post Commit Hook

Hi,
There are really only two things you need to know, first off, Trac in the JumpBox is version 0.10.4 so make sure you use a postcommit hook for that version. Second, all subversion hooks should go in this directory on the JumpBox: /var/data/projects/svn/project/hooks

The Trac FAQ has an answer about this that includes useful troubleshooting information: http://trac.edgewall.org/wiki/TracFaq#can-trac-automatically-update-a-ti...
and the Subversion book entry on hooks could be useful:
http://svnbook.red-bean.com/en/1.2/svn-book.html#svn.reposadmin.create.h...

Good luck,
Austin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.