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

Re: Fwd: [Issue 2399] svn_ra_stat returning error for non-existent path instead of NULL dirent_t*

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-09-13 15:50:11 CEST

On Tue, Sep 13, 2005 at 02:34:26PM +0100, Max Bowsher wrote:
> I believe the proper remedy is to draw attention to the fact that
> SVN_ERR_FS_NOT_DIRECTORY may be raised - not to make this error case
> indistinguishable from a simple 'does not exist' return.

FWIW, I agree. I don't think William is particularly bothered about how
this situation manifests itself, as long as it can be reliably identified.

We should also check that it's consistent across (ra_svn/ra_local, ra_dav) x
(BDB, FSFS). svnserve and ra_local both seem to call svn_repos_stat() to do
the real work, so they should behave the same. I couldn't figure out exactly
what mod_dav_svn was doing, nor exactly how the filesystems would respond.

Is there an easy way to test the current behaviour across the different


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 13 15:55:27 2005

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.