This problem appears to be caused by the fact that the svn.ra.get_dir2() call in svn_ra_dav returns a different error when it's called on something that's not a directory.
This problem appears to be caused by the fact that the svn.ra.get_dir2() call in svn_ra_dav returns a different error when it's called on something that's not a directory.