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

Re: A problem trying to use svn:// and http:// for a same repository at the same time

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 20 Dec 2010 11:43:44 +0100

On Sun, Dec 19, 2010 at 11:03:16PM -0800, David wrote:
> ./svnadmin create --pre-1.5-compatible /local/svnroot/repository/one
> #start the ./subversion/bin/svnserve

How did you really invoke svnserve? Did you pass any options?

You need to tell svnserve where to find repositories.
This is done with the --root option.

> #configure ./one/conf/svnserve.conf, authz, passwd
> svn://

svnserve in daemon mode can only listen on a single IP address.
If you don't specify the address when you start svnserve, it asks
the operating system for some address it can use. If the OS decides
to return an IPv6 address (default on many systems these days),
you won't be able to connect to svnserve via the IPv4 address.
This is done with the --listen-host option.

> It is ok to view logs via TortoiseSVN-->Show log
> But:
> ./svnadmin create /local/svnroot/repository/test
> #configure ./one/conf/svnserve.conf, authz, passwd
> svn://
> An error happen when i try to view logs via TortoiseSVN-->Show log

Try something like this:

svnserve --listen-host --root /local/svn/root/repository

You should now be able to connect to either repository.


Received on 2010-12-20 11:44:26 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.