[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: sync remote subversion sites

From: Nick Thompson <nickthompson_at_agere.com>
Date: 2006-05-22 14:55:28 CEST

On Monday 22 May 2006 13:38, Mircea Hutanu wrote:
> Hi,
>
> I read the mailing list about this problem but I'm not sure I
> understand how to do it correctly.
> I want to sync 2 svn, I have a master svn (named A) and I have
> access to a second one where I can mirror the first one (named B).
> I want to sync A to B svn's based on commits made on the first one.
> The svn's are both accesible via http.
> I read about svk too, I'm just wandering that's the best solution
> to do that without headakes.

Assuming B is read only, a tool like rsync should be able to push the
changes to the repository from A to B from a post-commit hook script.

Also, you can try to be clever, and dump the new revision on A,
transfer the dump to B and load it on B.

rsync is likely to be easier and even continue to work if you reload
repos on A when the revision numbers might change.

Bi-directional syncs would also be possible, but much harder to figure
out the issues (mastership transfer for one). SVK might then be a
better bet.

-- 
> Nick Thompson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 22 14:57:06 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.