Special Commands in Commit Messages

The trac-post-commit-hook script allows Trac tickets to be modified by SVN commit messages, using the following formats:

  • command #1
  • command #1, #2
  • command #1, #2 and #3
    • (or arbitrarily long chains joined by strings of commas and ampersands and spaces, or by "and" (with optional space on either side))

where command is one of

  • close, closed, closes, fix, fixed, fixes
  • addresses, re, references, refs, see

The whole commit message will be added as a comment to the ticket, using WikiFormatting.

Last modified 14 years ago Last modified on May 7, 2007, 9:14:58 AM
Note: See TracWiki for help on using the wiki.