Newer
Older
Mantis_source-integration / SourceSFSVN / post-commit.tmpl
@John Reese John Reese on 17 Mar 2010 325 bytes Re-licensed the project under the MIT license
#!/bin/sh

# Copyright (c) 2010 John Reese
# Licensed under the MIT license

REV="$2"

URL="http://localhost/mantisbt/plugin.php?page=Source/checkin"
PROJECT="Repository Name"

LOG_FILE=`mktemp /tmp/svn_${PROJECT}_${REV}_log.XXX`

CURL=/usr/bin/curl

${CURL} -d "repo_name=${PROJECT}" -d "data=${REV}" ${URL} >> ${LOG_FILE}