wiki:SvnPostCommitCreateVersionScript

Version 1 (modified by dserodio, 9 years ago) (diff)

New hack SvnPostCommitCreateVersionScript, created by dserodio

Post commit hook script to create a version in Trac

Description

Subversion post-commit script that creates a "version" in Trac if a tag was created.

Bugs/Feature Requests

Existing bugs and feature requests for SvnPostCommitCreateVersionScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SvnPostCommitCreateVersionScript from here using Subversion, or browse the source with Trac.

Example

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

Author/Contributors

Author: dserodio
Contributors:

TagIt(script,dserodio,0.9)?