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

Re: "svn info" to older servers returns nothing

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-08-23 20:48:47 CEST

On Fri, Aug 17, 2007 at 10:56:00AM -0400, Zing wrote:
> When you query older servers for info, the root of the repository returns
> an empty response. Querying subdirectories though, seems to work ok.
>
> I have two ways to reproduce. The easy and first way is the samba repo:
>
> $ svn info svn://svnanon.samba.org/samba
> $ echo $?

Thanks for the report. In a sense, this was expected behaviour: older
(pre-1.2) versions of svnserve don't provide any way to retrieve
information about the repository root.

Because of this, the current code does nothing for requests for the root
so that recursive queries (svn info -R svn://...) will continue to work.
This isn't very friendly for non-recursive queries, as you've found, and,
unfortunately, there was also a bug in that code that prevented the
recursion from working anyway.

I've changed the behaviour for non-recursive queries to return an
explicit error message, and fixed the recursive version. The fix will
be included in Subversion 1.5.0, and I've also nominated it for the next
bugfix release in the 1.4 series.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Thu Aug 23 20:46:21 2007

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.