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

ra_dav and svn_ra_check_path not using the requested revision

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-31 17:49:46 CEST

I'm having problems using svn_ra_check_path over ra_dav:

#!/bin/bash

SVN=svn
REPO=file://`pwd`/repo
#REPO=svn://localhost/repo
#REPO=http://localhost/repo
rm -rf repo wc
svnadmin create --fs-type fsfs repo
echo [general] >> repo/conf/svnserve.conf
echo anon-access = write >> repo/conf/svnserve.conf

$SVN mkdir $REPO/foo -m "r1 a directory"
$SVN import Makefile $REPO/z.c -m "r2 a file"
$SVN import Makefile $REPO/foo/z.c -m "r3 another file"
$SVN rm $REPO/foo -m "r4 delete directory"
$SVN cp $REPO/z.c $REPO/foo -m "r5 replace with file"

The problem command is

$ svn cp -r3 http://localhost/repo/foo/z.c http://localhost/repo/x1
../svn/subversion/libsvn_ra_dav/util.c:780: (apr_err=160016)
svn: PROPFIND request failed on '/obj/repo/foo/z.c'
../svn/subversion/libsvn_ra_dav/util.c:368: (apr_err=160016)
svn: Failure opening '/foo/z.c'

The command works if I use the other RA layers, e.g.:

$ svn cp -r3 svn://localhost/repo/foo/z.c svn://localhost/repo/x1 -m ""

Committed revision 6.

The DAV stuff is really complicated for an outsider to follow, as far
as I can tell svn_ra_dav__search_for_starting_props is looking for
/foo/z.c in the head revision rather than in r3 as requested.

Is this a known ra_dav bug?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 31 17:51:05 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.