Angel Ortega's svn mirror ========================= This is a Subversion post-commit script that dumps each commit on a file and sends it to a remote system. If the remote system is down or inaccesible, the commit files are spooled until it's up again. Installation is done by copying `aovsvnmirror' somewhere in your system and adding a call from the `post-commit' script of the svn repository. At the beginning of the script there are some variables that must be tweaked to match your configuration. Add to the end of your post-commit script: /usr/local/bin/aovsvnmirror $1 $2 If `aovsvnmirror' is directly called with only one argument (the repository), a special job containing a full copy of the repository will be created and propagated to the remote server. Do this the first time to ensure both repositories contain the same. When called with the `--flush' argument only, no mirror job will be created (only the spool will be processed). The first time `aovsvnmirror' is executed, the spool directory will be created. Take care that all users with write access to the repository are able to write files there. -- Angel Ortega - http://www.triptico.com