May 27 2007
Improved Subversion auto-checkout
My whole Web site is under Subversion, and any commit I make is automatically propagated online. I have been achieving this using Yann Dirson’s svn-auto-checkout script. However, as my site has grown, the complete update that the script runs has become painful, as it locks the online checked-out copy while it does the update.
I therefore plugged svnlook into the process, to update only the files and directories changed during a commit. See if it works for you: svn-auto-look-and-checkout.


August 16th, 2007 at 16:44
Hi, I am trying to do exactly this. Once I commit a new/modified file to SVN, I would like the post-commit hook to automatically copy the file to a different server for testing purposes (We are using a shared development environment.) My question: Can I specify the destination path to be a path on a different machine? If so, how? Or does it have to be a local path? Thanks in advance.
August 16th, 2007 at 21:31
I’m afraid that the script currently only allows a check-out on the host where the repository resides. That said, it should be possible to do the svn update via ssh to a different host.
August 17th, 2007 at 15:18
Can you give me some pointers on how I can go about doing that? Thanks.