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 <

Also, great details at Alt Tag

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Allowed HTML tags: <br> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <strike> <h3> <pre> <blockquote> <h2> <div> <p>
  • Lines and paragraphs break automatically.