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

Re: PROPFIND (dav) and svn client

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Thu, 26 Jun 2008 23:58:17 -0700

Leland Ray wrote:
> Greetings,
>
> My mod_dav_svn (1.2.4) gives an http 207 response to a PROPFIND if the
> repository is valid but the path is not.
>
> My svn client (1.4.6) then misinterprets the response, believing that
> the path exists in the repository.
>
> Example (here the first path is a valid one, and the second path does
> not exist):
>
> svn cp http://server.example.com/svnrepo/path1/mysrc
> http://server.example.com/svnrepo/newpath/mysrc
>
> svn: Path 'newpath/mysrc' already exists.
>
>
> Here is the xml response from the server that triggers the error:
>
> <?xml version="1.0" encoding="utf-8"?>
> <D:multistatus xmlns:D="DAV:"
> xmlns:ns1="http://subversion.tigris.org/xmlns/dav/" xmlns:ns0="DAV:">
> <D:response xmlns:lp1="DAV:"
> xmlns:lp3="http://subversion.tigris.org/xmlns/dav/"
> xmlns:g0="http://subversion.tigris.org/xmlns/dav/">
> <D:href>/svnrepos/newpath/mysrc</D:href>
> <D:propstat>
> <D:prop>
> <lp1:version-controlled-configuration><D:href>/svnrepos/!
> svn/vcc/default</D:href></lp1:version-controlled-configuration>
> <lp1:resourcetype/>
> <lp3:baseline-relative-path>newpath/mysrc</lp3:baseline-relative-path>
> </D:prop>
> <D:status>HTTP/1.1 200 OK</D:status>
> </D:propstat>
> <D:propstat>
> <D:prop>
> <g0:repository-uuid/>
> </D:prop>
> <D:status>HTTP/1.1 404 Not Found</D:status>
> </D:propstat>
> </D:response>
> </D:multistatus>
>
> How can I make my server and clients play together?

Can you reproduce this with 1.5.0 (or better yet, a development build
from trunk)?

-Hyrum

Received on 2008-06-27 08:59:01 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.