I've a problem with my SVN post-commit hook. The hook itself works fine.
I've added:
echo "REPOS: $REPOS Rev: $REV" >>/tmp/mylog.txt
.. and when I'm running it by using the shell as www-data all works fine and the output is:
REPOS: /var/local/svn/svn_project Rev: 624
But when SVN called the hook automatically, the hook is executing and the output is:
REPOS: Rev:
The result is, that the update-command in my hook file also didn't work.. :/
Did someone have an idea where the problem could be? Why are the $REPOS and $REV not setted?