You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Andreas J. Koenig" <an...@anima.de> on 2002/10/23 12:59:42 UTC

wrong error code on checkout of not existing URL

When I checkout a not existing path my own SVN server I get a 405
instead of a 404:

  % svn co http://k75/svn/notexists .
  subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
  svn: RA layer request failed
  svn: PROPFIND of /: 405 Method Not Allowed

When I try the same with collab.net's server, I get the correct answer:

  % svn co http://svn.collab.net/repos/svn/notexists .
  subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
  svn: RA layer request failed
  svn: PROPFIND of /repos/svn/!svn/bc/3459/notexists: 404 Not Found

Looks like a bug to me. I have 3459 running both as server and client.

The configuration on my server is:

<Location /svn>
    DAV svn
    SVNParentPath /usr/local/svn
</Location>

I've tried with SVNPath too, but get the same result. Checking out
existing paths seems to work fine.

-- 
andreas

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

Re: wrong error code on checkout of not existing URL

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
andreas.koenig@anima.de (Andreas J. Koenig) writes:
> Filed as issue 946. I couldn't find out how to put the issue into a
> milestone, I guess I'm lacking permission to do so.

Huh, I forgot about that.  I'll do it.  Thanks!

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

Re: wrong error code on checkout of not existing URL

Posted by "Andreas J. Koenig" <an...@anima.de>.
>>>>> On 24 Oct 2002 10:25:14 -0500, Karl Fogel <kf...@newton.ch.collab.net> said:

  > Yup, looks like a bug.  Can you file an issue for it, and place it in
  > the 1.0 milestone?  (It's an annoyance, but not necessarily a Beta
  > annoyance, and we have to prioritize :-) ).

Sure, it's absolutely minor, but thanks for looking at it nonetheless.

Filed as issue 946. I couldn't find out how to put the issue into a
milestone, I guess I'm lacking permission to do so.

-- 
andreas

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

Re: wrong error code on checkout of not existing URL

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Yup, looks like a bug.  Can you file an issue for it, and place it in
the 1.0 milestone?  (It's an annoyance, but not necessarily a Beta
annoyance, and we have to prioritize :-) ).

Thanks,
-K

andreas.koenig@anima.de (Andreas J. Koenig) writes:
> When I checkout a not existing path my own SVN server I get a 405
> instead of a 404:
> 
>   % svn co http://k75/svn/notexists .
>   subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
>   svn: RA layer request failed
>   svn: PROPFIND of /: 405 Method Not Allowed
> 
> When I try the same with collab.net's server, I get the correct answer:
> 
>   % svn co http://svn.collab.net/repos/svn/notexists .
>   subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
>   svn: RA layer request failed
>   svn: PROPFIND of /repos/svn/!svn/bc/3459/notexists: 404 Not Found
> 
> Looks like a bug to me. I have 3459 running both as server and client.
> 
> The configuration on my server is:
> 
> <Location /svn>
>     DAV svn
>     SVNParentPath /usr/local/svn
> </Location>
> 
> I've tried with SVNPath too, but get the same result. Checking out
> existing paths seems to work fine.
> 
> -- 
> andreas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

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