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

Re: Questions regarding upcoming svnsync tool

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-09-05 16:30:38 CEST

On 9/4/06, Sebastian Schuberth <sschuberth@gmail.com> wrote:
> Hi,
> I've looked at the source to svnsync in the 1.4 RC5 download, yet I'm
> not sure whether svnsync will suit our needs.
> We have two office locations which are only connected via low-bandwidth
> Internet. Accessing a SVN repository at location A from location B takes
> far too long. So the idea was to set up two repositories, one at each
> location, which are automatically bidirectionally synchronized at each
> commit (not only once a day or something).
> Is this something we could archive with svnsync, by calling it from a
> post-commit-hook on each side? Moreover, this only makes sense if the
> committing user does not have to wait until the post-commit-hook
> finishes. Is this possible?

No, it is not. svnsync is for maintaining read-only mirrors, it has
no ability to do bidirectional syncing like what you're talking about.
 In order to replay commits like that you'd need to do a bunch of
locking to ensure that when a commit is going on in project A nothing
is being changed in project B, and currently there's no way to do
that. It might be possible to implement, but it's outside the scope
of what svnsync does right now.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 5 16:35:39 2006

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