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

Re: 1.5 client can't connect to 1.4 svnserve

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 21 Mar 2008 20:38:46 +0100

Karl Fogel wrote:
> Karl Fogel <kfogel_at_red-bean.com> writes:
>> "C. Michael Pilato" <cmpilato_at_collab.net> writes:
>>> Karl Fogel wrote:
>>>> Stefan Küng <tortoisesvn_at_gmail.com> writes:
>>>>> Tried with a trunk build. The same problem: "can't connect to host
>>>>> localhost': connection refused".
>>>>>
>>>>> So it seems the problem hasn't been fixed on trunk yet.
>>>> Thanks for confirming this, Stefan. I'm on it (and have filed
>>>> http://subversion.tigris.org/issues/show_bug.cgi?id=3132 as a
>>>> 1.5-blocker to track it).
>>> red-bean is still on 1.4 -- maybe consider running a 1.4 svnserve
>>> daemon there for testing?
>> Thanks, that'll save me some time, good idea.
>
> Stefan, I cannot reproduce this.
>
> Here's what I did on the server side:
>
> $ hostname -a
> sanpietro sp.red-bean.com sp
> $ svnadmin --version
> svnadmin, version 1.4.5 (r25188)
> compiled Sep 25 2007, 16:58:57
> [...]
> $ svnadmin create repos
> $ svnserve -d -r `pwd`
> $
>
> Now watch what happens on the client side:
>
> $ ./1.4.x/subversion/svn/svn --version
> svn, version 1.4.7 (dev build)
> compiled Mar 21 2008, 13:45:07
> [...]
> $ ./1.4.x/subversion/svn/svn ls -v svn://sp.red-bean.com/repos
> $ ./1.4.x/subversion/svn/svn log -v svn://sp.red-bean.com/repos
> ------------------------------------------------------------------------
> $ ./1.4.x/subversion/svn/svn co \
> svn://sp.red-bean.com/repos wc-via-1.4-client/
> Checked out revision 0.
> $ ./subversion/subversion/svn/svn --version
> svn, version 1.6.0 (dev build)
> compiled Mar 21 2008, 14:18:07
> [...]
> $ ./subversion/subversion/svn/svn ls -v svn://sp.red-bean.com/repos
> 0 ? Mar 21 14:14 ./
> $ ./subversion/subversion/svn/svn log -v svn://sp.red-bean.com/repos
> ------------------------------------------------------------------------
> $ ./subversion/subversion/svn/svn co \
> svn://sp.red-bean.com/repos wc-via-1.5-client
> Checked out revision 0.
> $
>
> So, both clients work. With the 1.5 client, we see more information in
> the output from 'svn ls -v svn://URL', when URL points to a repository
> that has only r0. I guess that must be some 1.5 improvement.
>
> In any case, they are both working for me.
>
> Can you get a network trace or somehow find out what's causing that
> "Can't connect to host 'localhost': connection refused" error?

I must be losing my mind: I can't get a network trace (using WireShark)
for connections to localhost. I know I did that once before but now I
can't seem to get this to work.

Anyway:

Try a non-empty repository.
And I'm doing this on Windows, with svnserve running on the same machine
as the svn client.

Since I can't get a network trace, I'll try stepping through the code.
Be right back...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-21 20:39:08 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.