I tried to do a post-commit to update my website at each commit. in the /hooks/post-commit
I did as follow
/svnUupdat/cProgrammeThatUpdate >> /log/test.log
Ok now if I try that
env - ./post-commit
it works, the website get update to the last revision (and there is something in the log)
but if I commit the post-commit is not called ?? (nothing in the log and the site is not updated)
Note that if I only put in the post-commit
/bin/echo "post-commit run" >> /log/test.log
If a commit something... it works.. there is something in the log.. Why is not calling my c programme then ?
EDIT I tried something else, that instead of calling a c programm
/usr/bin/svn update /var/www/vhost/xx.com/site1/ >> /var/log/svn/example.log
in the log I have Skipped /var/www...
Why is it skipped ? if i launch the svn update in a terminal it works the working directory get the last revision
thanks