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

Re: svnsync init is failing

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Sun, 1 Feb 2009 21:25:52 -0800

On Sun, Feb 1, 2009 at 9:15 PM, Reddy, Raghuram IN BLR SISL <
Raghuram.reddy_at_siemens.com> wrote:

> Hi,
>
>
>
> I going to sync with two repositories (Master and Slave), while
> initializing destination machine I am getting message
>
> svnsync: Cannot initialize a repository with content in it
>
>
>
> Please let me know what could be the problem while initialization.
>
>
>
> Syntax: svnsync init http://YOURSLAVEBOX/sync/THEREPOSITORY
> http://YOURMASTERBOX/svn/THEREPOSITORY --username syncuser --password
> syncuserpassword
>
> svnsync: Cannot initialize a repository with content in it
>

The slave (destination) has a repository that is not empty. That is, it has
a revision that is greater than 0. For the slave to be a mirror, you need to
create an empty repository and then svnsyn init it once. After that you just
keep syncing.

rgds
-Hari

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-02 06:26:45 CET

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.