[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: Karl Fogel <kfogel_at_red-bean.com>
Date: Fri, 21 Mar 2008 14:42:14 -0400

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-21 19:42:26 CET

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