I use the following bash script to automatically deploy from SVN on my servers.