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

Re: Problem in initializing slave with master subversion server.

From: Vojtech Jakes <vjakes_at_gmail.com>
Date: Mon, 25 Aug 2008 17:21:23 +0200

Sandeep,

Two things to do for you:

1) Change conf files to contain slashes instead of backslashes in path
names.

2) Try running this on the master:
svnsync init *http://slave/proxy-project-sync/* <http://slave/repo/> *
http://master/repo* <http://master/repo> --username myuser --password
mypasswrd

Cheers

Vojta

On Mon, Aug 25, 2008 at 6:45 AM, <sandeep.saxena_at_rbs.com> wrote:

> Hi,
> I am facing some issues in initializing the slave repository with master
> repository. My repositories both on master and slave are at
> c:\repo and here are the configurations :
> +++++++++++++++++Master Apache httpd.conf +++++++++++++++++++
> <Location /repo>
> DAV svn
> SVNListParentPath on
> SVNPath C:\Repo
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile passwd
> #AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> and slave entries are as following :
> ++++++++++++++++Slave Apache httpd.conf++++++++++++++++++++
> <Location /repo/>
> DAV svn
> SVNListParentPath on
> SVNPath C:\Repo
> SVNMasterURI *http://master/repo* <http://master/repo>
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile passwd
> #AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>
> <Location /project-proxy-sync/>
> DAV svn
> SVNPath C:\Repo
> Order deny,allow
> Deny from all
> Allow from master
> </Location>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Now when I try to initialize my slave with my master repositories I get
> following message :
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> C:\>svnsync init *http://slave/repo/* <http://slave/repo/> *
> http://master/repo* <http://master/repo> --username myuser --password
> mypasswrd
> *svnsync: Server sent unexpected return value (405 Method Not Allowed) in
> respons
> e to PROPFIND request for '/repo'** *
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Can someone help ?
> Regards,
> Sandeep.
>
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at: www.rbs.comwww.rbs.com/gbmwww.rbsgc.com
> ***********************************************************************************
>
>
Received on 2008-08-25 17:21:58 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.