|Version 3 (modified by trac, 11 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 [download:svnpostcommitcreateversionscript 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