When using SVN, vcsync
must be configured as a post-commit
hook. It expects the same arguments as the hook, i.e. path to the
repository as the first argument, and revision string as the second
one. Given the proper configuration file, it can be set up as:
$ cd repo/hooks $ ln -sf /usr/bin/vcsync post-commit
The configuration file should then contain at least:
destination-root /srv/home;
The project name is deduced from the first argument, by selecting its trailing directory component.