Changes between Version 5 and Version 6 of TimingAndEstimationSVNPostCommitHook
- Timestamp:
- Jan 22, 2007, 5:37:59 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TimingAndEstimationSVNPostCommitHook
v5 v6 4 4 '''Note: This information was taken from http://trac.edgewall.org/wiki/TimeTracking#UsingaSubversioncommithookoptional and modified to show how it works with this plugin''' 5 5 6 6 == Description == 7 7 8 8 The {{{contrib/trac-post-commit-hook}}} script is a very convenient tool to interact with Trac's ticket system on commit. It allows to modify time tracking values and ticket state through special commit messages. … … 46 46 47 47 {{{ 48 svn commit -m ' Added time tracking, closes #1 (1), refs #2 (.5)'48 svn commit -m 'closes #1 (1), refs #2 (.5) Added time tracking' 49 49 }}} 50 50 51 51 This closes ticket #1, increases the time spent by 1 hour. It adds an entry to the Changelog of ticket #2, increases the time spent by .5 hours. 52 53 == Gotchas == 54 The script is pretty picky about what input it accepts. I would suggest entering all of the commit hook commands on separate lines at the beginning of the message for best results.