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

Re: mirror/syncronize a server?

From: Helge Jensen <helge.jensen_at_slog.dk>
Date: 2005-05-11 18:53:50 CEST

Geoffrey Plitt wrote:
> Yes, I thought of this solution. However, this is not an
> atomic/reliable operation, like all of the "svn" commands are.

What part is not realiable? You could retrieve $LAST from your remote
location to prevent storing it locally, with the synchronization
problems that yields:

   LAST=`ssh otherserver svnlook $OTHER_REPO youngest`

The only thing you need to ensure is that at most one "synchronization"
is active at a time, that should be doable using many methods.

> - check any previously failed attempts, and re-get the data, to come
> back up to date.

This sounds like a dangerous way of splitting the action into two cases,
one of which is a special-case.

Why not just think of it as a replication upto a certain
revision-number? Whether something "failed" in the past isn't really
relevant to the actual synchronization, but only to the administrator.

-- 
Helge Jensen
   mailto:helge.jensen@slog.dk
   sip:helge.jensen@slog.dk
                -=> Sebastian cover-music: http://ungdomshus.nu <=-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 11 21:03:00 2005

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

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