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

Re: How to access local svnserve repository in Windows

From: Itamar O <itamarost_at_gmail.com>
Date: Thu, 8 Jul 2010 22:25:53 +0300

On Thu, Jul 8, 2010 at 8:07 PM, David Bartmess <dingodave_at_edingo.net> wrote:

> I've setup a local repository under C:\svn_repository\Test using "svnadmin
> create c:\svn_repository\Test", and want to access it via the command line
> svn.exe. The svnserve is setup as a Windows service, and I can see that it's
> started.
>
> The binpath in the service entry is
> "C:\Program Files\CollabNet\Subversion Server\svnserve.exe" --server -r
> "C:\svn_repository" -listen-port "3690"
>

the syntax seems incorrect.
I think the "--server" switch should be "--service",
the argument for the -r switch needs to be a repository (e.g.
"C:\svn_repository\Test"),
and the "--listen-port" switch is missing a "-".

>
> The question is, what is the correct syntax for accessing the svnserve
> service to import a new project?
>
> I've tried the following with no success:
> svn import -m "Test import" . svn://dingo.home/Test
> svn: Unknown hostname 'dingo.home'
> svn import -m "Test import" . svn://localhost/Test
> svn: No repository found in 'svn://localhost/Test'
>

if you run svnserve as I explained above, you should be able to access the
repository via http://localhost/ (drop the "Test").
maybe if you use the "--listen-host dingo.home" switch you will also be able
to access svn://dingo.home/

>
> --
> "Dingo" Dave Bartmess
> Broomfield, CO. USA
> http://edingo.net
>
>
>
Received on 2010-07-08 21:26:36 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.