[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: 谢带达 <ddxie.cn_at_gmail.com>
Date: Tue, 21 Dec 2010 16:25:55 +0800

Thank you Stefan.

I start svnserve this way:

/local/svnroot/repository/one/conf/svnserve.conf
[general]
anon-access =
auth-access = write
password-db = passwd
authz-db = authz
/local/svnroot/repository/one/conf/authz
[/]
test = rw
* =

/local/svnroot/repository/one/conf/passwd
[users]
test = test

And then I start svnserve with root account:
/local/svnroot/subversion/bin/svnserve -d --listen-host 172.18.127.148
--root /local/svnroot/repository

Yes I could connet to :
svn://172.18.127.148/test
svn://172.18.127.148/one

The problem is that it show "Item is not readble" when I try to show log via
TSVN.
The only difference between Repository one and Repository test is that the
former is created with --pre-1.5-compatible but the latter not.
3 snaps are attached for your reference.

2010/12/20 Stefan Sperling <stsp_at_elego.de>

> 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://172.18.127.148/one
>
> 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://172.18.127.148/test
> > An error happen when i try to view logs via TortoiseSVN-->Show log
>
> Try something like this:
>
> svnserve --listen-host 172.18.127.148 --root /local/svn/root/repository
>
> You should now be able to connect to either repository.
>
> svn://172.18.127.148/one
> svn://172.18.127.148/test
>
> Stefan
>

show_log.png correct.png error.png
Received on 2010-12-21 09:26:27 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.