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

wrong error code on checkout of not existing URL

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-10-23 14:59:42 CEST

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
Received on Wed Oct 23 15:00:35 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.