#!/bin/sh
#
REPOS="$1"
REV="$2"
BASEDIR=`dirname $0`

export PATH=$PATH:/usr/local/bin
export PYTHON_EGG_CACHE="/tmp/eggs"

/usr/local/share/subversion/hook-scripts/mailer/mailer.py commit "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &
/usr/local/bin/trac-admin /usr/local/www/trac/projects/beheer changeset added "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &
/usr/local/bin/trac-admin /usr/local/www/trac/projects/nodefactory changeset added "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &

exit $?
