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

RE: not able to access repository form remote server

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 31 Oct 2013 13:47:06 +0000

> I installed win32svn in remote server which i can acees directly.
> I am trying to create subversion repository mirror in this remote server using
> "svnsync" through command line and the actual repo is located in different
> remote server.I am able to access this repo(from diff server) from SVNSLIK,
> but not able to connect subversion of windows compatible (win32svn)
>
> command used:
> svnsync init file:///repository htp://repoURL/trunk/repoName --source-
> username AAA --source-password PWD
> (then)
> Authentication realm: XXX
> Username: AAA Password: PWD
> Again asked username and password, even i entered correct authentication
> info, thrown error.
> Error:
> svnsync:E215004:Unable to connect to a repository at URL
> htp://repoURL/trunk/repoName plz help me on this.

Is "htp" a typo in your email? You are using http:// when you are actually doing this?

Also, is there a reason you aren't specifying --sync-username and --sync-password on your command line?

Finally, I think your doing it backwards. The svnsync help shows:

svnsync initialize DEST_URL SOURCE_URL

Wouldn't file:///repository be your source, so your command line should be:

svnsync init http://repoURL/trunk/repoName file:///repository --sync-username AAA --sync-password PWD

...since you are using file:/// protocol for your source.

Also, did you heed this in the help?

The destination URL must point to the root of a repository which has been configured to allow revision property changes.

BOb
Received on 2013-10-31 14:47:47 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.