A working copy where the root URL gets deleted from the repository
cannot be switched using ra_dav, but can be switched using ra_local. Given
svnadmin create /tmp/repo
svn mkdir file:///tmp/repo/foo
svn mv file:///tmp/repo/foo file:///tmp/repo/bar
svn co -r1 file:///tmp/repo/foo wc1
svn co -r1 http://localhost/tmp/repo/foo wc2
This works
svn switch file:///tmp/repo/bar wc1
but this fails
svn sw http://localhost/tmp/repo/bar wc2
../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
svn: Filesystem has no item
svn: REPORT request failed on /tmp/repo/foo
../svn/subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
svn:
file not found: revision `2', path `/foo'