|Version 2 (modified by cboos, 9 years ago) (diff)|
Post commit hook script to create a version in Trac
Subversion post-commit script that creates a "version" in Trac if a tag was created.
If you have any issues, create a new ticket.
Download the zipped source from here.
Add the following lines to your Subversion post-commit hook:
REPOS="$1" REV="$2" $REPOS/hooks/post-commit.trac-create-version $REPOS $REV >> /tmp/post-commit.log 2>&1