SVN Pre-Commit Hook to ensure Trac ID in Comment
|Reported by:||olemis||Owned by:||olemis|
|Severity:||normal||Keywords:||vcs multiproject svn|
Based on a support request posted by Marjory L. Mackes to trac-users ML
Implement the pre-commit hook /apps/trac/var/svn/hooks/pre-commit.pl , which requires the user to enter the Trac ID number to check in the source to associate the change set with the ticket.
Besides , when multiple environments share a single repository, check whether filters are applied in order to execute hook subscribers only if the target changeset touches the project folder .