I'm using CentOS, Apache, PHP, MySQL and Subversion. I would like to update my deployment code everytime a user commits new code. Can I do that with a SVN Post-Commit Hook? What would the hook look like?
My repository is under: /var/svn/repository, and my deployment folder is on the same machine under /var/www/myWebAppTest.