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

PROPFIND (dav) and svn client

From: Leland Ray <leland.ray_at_medhelp.org>
Date: Thu, 26 Jun 2008 13:24:37 -0700

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-26 22:25:54 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.