#!/bin/sh # Copyright (C) 2008 John Reese # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. 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}