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

RE: how to catch up when svnsync pc was offline?

From: <Ullrich.Jans_at_elektrobit.com>
Date: Thu, 27 Aug 2009 16:36:40 +0200

Phil Labonte wrote:

> I am using svnsync with subversion version 1.4 (I know it's old).
> The issue is that the pc I was synchronising to went offline for a
> couple days and it is now back online.
> Is there a way for the synchronization to catch up? Or do I
> need to re sync.

You need to re-read http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.replication


In a nutshell: the svnsync process will look at the source and the destination, see that it needs to mirror more than one revision and happily mirror all the missing revisions. Problem solved. :-)

Possibly, you might need to unlock the destination repo:

(WATCH OUT: if there is a sync in progress, you might break your destination!)

svn propdel --revprop -r 0 svn:sync-lock <destination-repo-url>

(WATCH OUT: if there is a sync in progress, you might break your destination!)



Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com 
Fax: +49 9131 7701-6333, www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886 
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-27 17:36:27 CEST

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.