Edgewall Software
Home
Trac
Trac Hacks
Genshi
Babel
Bitten
Home
Download
Documentation
Mailing Lists
License
FAQ
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
+0
Start Page
Index
History
Editing PostCommitHooks
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= Version control post-commit hooks and Trac Up to Trac 0.11, Trac was distributed with a post-commit hook for Subversion which could be used to automatically modify tickets based on the content of the commit log. However, this was quite error prone (e.g. #10458) and that was replaced by a more general mechanism based on a //changeset notifications interface// and normal plugins reacting on these notifications. See CommitTicketUpdater. Now the source:trunk/contrib/trac-svn-hook is just used to trigger a notification signal via the trac-admin, nothing more. The script is not necessary and trac-admin can be called directly in your post-commit hook. For version control systems other than Subversion, see also TracRepositoryAdmin#ExplicitSync.
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.