integrate mantis with SVN using subversion post commit hook

From the mantisbt source control integration comments something like this should work:


\#!/bin/sh
REPOS="$1"
REV="$2"

SVNLOOK=/usr/local/bin/svnlook
PHP=/usr/bin/php
MANTIS=/srv/www/novo/html/mantis/core/checkin.php
COMMIT_MSG=`$SVNLOOK log -r $REV "$REPOS"`

$PHP -f $MANTIS <<zzzMantiszzz
Revision: $REV: $COMMIT_MSG
zzzMantiszzz

Also, great details at Alt Tag

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.