Changes between Version 5 and Version 6 of TimingAndEstimationSVNPostCommitHook


Ignore:
Timestamp:
Jan 22, 2007, 5:37:59 PM (17 years ago)
Author:
Russ Tyndall
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TimingAndEstimationSVNPostCommitHook

    v5 v6  
    44'''Note: This information was taken from http://trac.edgewall.org/wiki/TimeTracking#UsingaSubversioncommithookoptional and modified to show how it works with this plugin'''
    55
    6 
     6== Description ==
    77
    88The {{{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.
     
    4646
    4747{{{
    48 svn commit -m 'Added time tracking, closes #1 (1), refs #2 (.5)'
     48svn commit -m 'closes #1 (1), refs #2 (.5)  Added time tracking'
    4949}}}
    5050
    5151This 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 ==
     54The 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.