Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Documentation » Developer Documentation » SVN Hook Into Trac

SVN Hook Into Trac

Document Actions
When adding messages to SVN there are keywords that can be used to update tickets in Trac.

Note: Much of this is taken from Lorne Wilson's email detailing these modifications to Trac

When adding messages to SVN there are keywords that can be used to update tickets in Trac.  The keywords should be followed by # and the ticket number (<keyword> #1000).  You can use more than one command in a message and can place multiple ticket numbers after a keyword..

Keywords


  1. When work on a ticket is completed, the keywords fix, fixed or fixes can be used to change the ticket status to test.  This will also add the commit message to the ticket.
  2. Using the keywords references, ref, refs, addresses, re or see will add the commit message to the specified ticket.  The ticket status will remain unchanged.
  3. Using the keywords test or testing will change the ticket status to test and add the commit message to the ticket.

Example:

Changed blah and foo to do this or that. Fixes #10 and #12, and refs #13
  • This commit message will change the status of tickets #10 and #12 to test and add the commit message to tickets #10, #12 and #13

Created by ew2
Last modified 2008-07-07 08:51