On Fri, Jan 21, 2011 at 3:57 AM, Oliver Marshall
<oliver.marsh...@g2support.com> wrote:
> Hi,
>
>
>
> Does anyone know of any manageable way to have SVN (Ubuntu 8 LTS currently)
> replication all changes to a secondary server?

Use post-commit to fire off a command to "svnsync" on the secondart
server.  This doesn't mirror configurations, but you don't want to do
that anyway: the second server should be locked down to prevent local
changes, out of sync with the primary server.

Rsync is dangerous because if you do it in post-commit, it's
non-blocking and other changes may be submitted while the change is
occurring and cause chaos in the remote repository. The same problem
exists with mirroring *any* database: the mirroring step needs to be
atomic.

Alternatively, consider switching to a distributed source control
system where merges to disparate repositories are more effective.

Reply via email to