You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Phil Labonte <ph...@transcore.com> on 2009/08/27 13:17:44 UTC

how to catch up when svnsync pc was offline?

Hello,

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.

Phil

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387873

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Ul...@elektrobit.com.
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!)

Cheers,

Ulli

-- 
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans@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.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387925

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].