| 236 | == Automatic reference to the SVN changesets in Trac tickets == |
| 237 | |
| 238 | You can configure SVN to automatically add a reference to the changeset into the ticket comments, whenever files are committed to the repository. The description of the commit needs to contain one of the following formulas: |
| 239 | * '''Refs #123''' - to reference this changeset in #123 ticket |
| 240 | * '''Fixes #123''' - to reference this changeset and close #123 ticket with the default status ''fixed'' |
| 241 | |
| 242 | This functionality requires a post-commit hook to be installed as described in [wiki:TracRepositoryAdmin#ExplicitSync TracRepositoryAdmin], and enabling the optional commit updater components by adding the following line to the `[components]` section of your [wiki:TracIni#components-section trac.ini], or enabling the components in the "Plugins" admin panel. |
| 243 | {{{ |
| 244 | tracopt.ticket.commit_updater.* = enabled |
| 245 | }}} |
| 246 | For more information, see the documentation of the `CommitTicketUpdater` component in the "Plugins" admin panel. |
| 247 | |