[Box Backup-dev] Tips on using trac comments
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Wed, 30 Aug 2006 15:13:21 +0100
A couple of useful pointers for people new to trac.
Trac has a number of easy ways of cross referencing in messages. It =20
applies to tickets, wiki pages, and svn commit messages. It's well =20
worth taking a look at them here:
http://bbdev.fluffy.co.uk/trac/wiki/TracLinks
Eg. [791] for a changeset
Also if it has been set up you can use svn commit messages to =20
automatically update and possibly close tickets. eg. When a commit =20
fixes a ticket put 'fixes #2' in the commit message. Or if it relates =20
to a ticket but doesn't close it put 'refs #2' instead. The message =20
will then also be written to the ticket. Full documentation on this is =20
at the top of the script that performs it (yeah, I know):
http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook
That's is presuming it's been setup like so. If not them maybe James =20
could add that one for us because it is very useful and really =20
integrates tickets into svn. More info here:
http://trac.edgewall.org/wiki/TracFaq#can-trac-automatically-update-a-ticket=
-when-i-commit-a-changeset
Cheers,
Martin.