You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Reddy, Raghuram IN BLR SISL" <Ra...@siemens.com> on 2009/02/02 05:15:27 UTC

svnsync init is failing

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://YOURSLAVEBOX/sync/THEREPOSITORY>
http://YOURMASTERBOX/svn/THEREPOSITORY
<http://YOURMASTERBOX/svn/THEREPOSITORY>  --username syncuser --password
syncuserpassword

svnsync: Cannot initialize a repository with content in it

 

 

Regards,

Raghu.

Ext:5804

 



 
 
Important notice:This e-mail and any attachment thereto contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank You.

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

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

Re: svnsync init is failing

Posted by Hari Kodungallur <hk...@gmail.com>.
On Sun, Feb 1, 2009 at 9:15 PM, Reddy, Raghuram IN BLR SISL <
Raghuram.reddy@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@subversion.tigris.org].