#!/bin/sh

REPOS="$1"
REV=$2
TL_PROJECT_HOME="$3"
PROJECT="$4"


LOG=`svnlook log -r $REV "$REPOS"`
AUTHOR=`svnlook author -r $REV "$REPOS"`
TRAC_ENV="$TL_PROJECT_HOME/trac/$PROJECT"

"$TRAC_LIGHT_HOME/python/python.exe" "$TRAC_LIGHT_HOME/python-lib/trac/contrib/trac-post-commit-hook" \
  -p "$TRAC_ENV"  \
  -r "$REV"       \
  -u "$AUTHOR"    \
  -m "$LOG" 

