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

svn ls http://svn.host.tld/

From: Alexy Khrabrov <alexy.khrabrov_at_setup.org>
Date: 2002-07-29 21:36:03 CEST

I noticed that listing the root of the repository by the command-line
client fails, while everything is nicely seen in the browser.

My httpd.conf has the usual

<Location /svn>
  DAV svn
  SVNpath /svn/repository
</Location>

(The physical SVN repository lives in /svn/repository.)

Here's what happens when I say

svn ls http://myhost/svn

svn_error: #21091 : <Bad URL passed to RA layer>
  No part of path '(null)' was found in repository HEAD.

However, when I try to list subdirectories, it works fine:

$ $ svn ls http://setup.org/svn/cs
http://setup.org/svn/cs:
_ 3 anonymou 66 Jul 28 17:07 .cvsignore
...

The Apache access_log looks as follows:

(1) For the failed top-level ls

128.6.178.78 - - [29/Jul/2002:14:36:39 -0400] "PROPFIND /svn HTTP/1.1" 301 301
128.6.178.78 - - [29/Jul/2002:14:36:39 -0400] "PROPFIND / HTTP/1.1" 405 308

(2) For successful sublevel ls:

128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/cs HTTP/1.1" 207 486
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/!svn/vcc/default HTTP/1.1" 207 336
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/!svn/bln/5 HTTP/1.1" 207 387
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/cs HTTP/1.1" 207 486
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/!svn/vcc/default HTTP/1.1" 207 387
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/!svn/bc/5/cs HTTP/1.1" 207 496
128.6.178.78 - - [29/Jul/2002:14:37:19 -0400] "PROPFIND /svn/cs HTTP/1.1" 207 486
128.6.178.78 - - [29/Jul/2002:14:37:20 -0400] "PROPFIND /svn/!svn/vcc/default HTTP/1.1" 207 387
128.6.178.78 - - [29/Jul/2002:14:37:20 -0400] "PROPFIND /svn/!svn/bc/5/cs HTTP/1.1" 207 55767

Now, how do I ls the root properly?
A related issue is, I want to dedicate a separate VirtualHost entirely to SVN,
for ease of use. I've tried to specify, in its VirtualHost section,

<Location />
  DAV svn
...

but the browser refused to see it.
Again, is there a way to make a domain SVN repository, and what's the correct
Apache configuration? Then I'd say simply,

svn ls http://short.com

Cheers,
Alexy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 21:38:26 2002

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.