I have a Subversion system running. It always does an post-commit update on /var/www
by the following code:
/usr/bin/svn update /var/www/
. But, this is OK when I am working on an other server. I do a commit, and it updates the /var/www/
directory on the main server. But, when I am working on the main server, the post-commit hook will fail, because I am modifying files in /var/www/
. How can I prevent this?
Regards, Kevin