You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Steven Knight <st...@unh.edu> on 2004/03/23 01:40:58 UTC

strange "svn list" problem / bug?

Hello,

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)

Alright, let's try this:

$ svn list $svnroot/vim/
|
--> This works.

Ok, how about this:

$ svn list $svnroot/vim/../
|
-> This shows what   svn list $svnroot/   should.

Other important notes: 

$ svn list file:///svn/repos 

Shows the directories in root of my repository.

Accessing $svnroot in galeon *does* list the directories in root of my
repository.

Any thoughts, suggestion, questions??

Thanks,


-- 
--------------------------------------------------------------------------------
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

Re: strange "svn list" problem / bug?

Posted by Steven Knight <st...@unh.edu>.
On Tue, 2004-03-23 at 12:14 -0600, Ben Collins-Sussman wrote:

> On Tue, 2004-03-23 at 12:05, Steven Knight wrote:
> 
> >   <Location /svn/>
> 
> What happens if you remove the trailing slash?  (<Location /svn>)

It works now.

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

Anyone why the trailing slash was causing problems with list?  When all
of the svn commands worked fine?

Thanks again for all the help.

Thanks,

-- 
--------------------------------------------------------------------------------
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

Re: strange "svn list" problem / bug?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-03-23 at 12:05, Steven Knight wrote:

>   <Location /svn/>

What happens if you remove the trailing slash?  (<Location /svn>)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: strange "svn list" problem / bug?

Posted by Steven Knight <st...@unh.edu>.
On Tue, 2004-03-23 at 08:41, kfogel@collab.net wrote:
> Steven Knight <st...@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

Re: strange "svn list" problem / bug?

Posted by kf...@collab.net.
Steven Knight <st...@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
   $ 

Can you show us the output of

   $ echo $svnroot
   $ ls -lR $svnroot

?

> Alright, let's try this:
> 
> $ svn list $svnroot/vim/
> |
> --> This works.

It's better to show the real output, in general.  (Doesn't matter much
in this case, just mentioning it for next time.)

> Any thoughts, suggestion, questions??

Want to see real expansion of $svnroot, and a detailed ls :-).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org