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

Re: strange "svn list" problem / bug?

From: Steven Knight <steven.knight_at_unh.edu>
Date: 2004-03-23 19:05:59 CET

On Tue, 2004-03-23 at 08:41, kfogel@collab.net wrote:
> Steven Knight <steven.knight@unh.edu> writes:
> > I'm running subversion-1.0.1, compiled from source, on gentoo. So, here
> > is problem:
> >
> > $svnroot is a shell variable for http access to my repository ( the
> > ra_local URL is file:///svn/repos )
> >
> > $ svn list $svnroot/
> > subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
> > svn: PROPFIND request failed on '/svn'
> > subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
> > svn: PROPFIND of '/svn': 405 Method Not Allowed (http://skk.ath.cx)
>
> I tried the "same thing" and it worked fine for me:
>
> $ ls `pwd`/repositories/basic_tests-1
> conf/ dav/ db/ format hooks/ locks/ README.txt
> $ svn ls file://`pwd`/repositories/basic_tests-1
> A/
> iota
> $ svn ls file://`pwd`/repositories/basic_tests-1/
> A/
> iota
> $

As requested, even from information about my problem.

$ echo $svnroot

http://skk.ath.cx/svn

>From /etc/apache2/conf/modules.d/47_mod_dav_svn.conf

  <Location /svn/>
    DAV svn
    SVNPath /home/svn/repos
    SVNIndexXSLT "/svnindex.xsl"
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /home/svn/conf/svnusers
    Require valid-user
  </Location>

so

$ svn list http://skk.ath.cx/svn/
subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
svn: PROPFIND request failed on '/svn'
subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
svn: PROPFIND of '/svn': 405 Method Not Allowed (http://skk.ath.cx)

$ svn list file:///home/svn/repos
clas405/
cs620/
cs712/
cs760/
cs770/
ee612/
etc/
finances/
gnomevfs-svn/
lotr-summary/
misc/
resume/
vim/
web/

And my little 'trick' to see the root of the repository
$ svn list http://skk.ath.cx/svn/misc/../

clas405/
cs620/
cs712/
cs760/
cs770/
ee612/
etc/
finances/
gnomevfs-svn/
lotr-summary/
misc/
resume/
vim/
web/

Accessing http://skk.ath.cx/svn/ through galeon *does* list the root of
the repository.

apache_log from above access

blackstar.sr.unh.edu - skk [23/Mar/2004:13:02:55 -0500] "GET /svn/
HTTP/1.0" 200 1444 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4)
Gecko/20030922 Galeon/1.3.13"
blackstar.sr.unh.edu - - [23/Mar/2004:13:02:55 -0500] "GET /svnindex.xsl
HTTP/1.0" 304 - "http://skk.ath.cx/svn/" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.4) Gecko/20030922 Galeon/1.3.13"
blackstar.sr.unh.edu - - [23/Mar/2004:13:02:56 -0500] "GET /svnindex.css
HTTP/1.0" 304 - "http://skk.ath.cx/svn/" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.4) Gecko/20030922 Galeon/1.3.13"

And apache_log from svn list http://skk.ath.cx/svn/

blackstar.sr.unh.edu - - [23/Mar/2004:13:01:22 -0500] "PROPFIND /svn
HTTP/1.1" 405 392 "-" "SVN/1.0.1 (r9023) neon/0.24.4"

>
> > Any thoughts, suggestion, questions??
>
> Want to see real expansion of $svnroot, and a detailed ls :-).

$ ls -l /home/svn/repos
total 40K
-rw-r--r-- 1 apache apache 376 Dec 5 12:10 README.txt
drwxr-xr-x 2 apache apache 4.0K Dec 5 12:10 conf/
drwxr-xr-x 2 apache apache 4.0K Dec 5 18:07 dav/
drwxr-xr-x 2 apache apache 16K Mar 22 12:02 db/
-rw-r--r-- 1 apache apache 2 Dec 5 12:10 format
drwxr-xr-x 2 apache apache 4.0K Mar 5 08:33 hooks/
drwxr-xr-x 2 apache apache 4.0K Dec 5 12:10 locks/

If you really want ls -lR /home/svn/repos just let me know.

Thank you,

-- 
--------------------------------------------------------------------------------
Steven Knight  steven.knight@unh.edu   IM : skkataim
and tho' We are not now that strength which in old days
Moved earth and heaven, that which we are, we are,--
One equal temper of heroic hearts,
Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield.
-- Ulysses by Alfred Lord Tennyson
-------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 23 19:06:45 2004

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.