Hi,
when running svn with ra_serf on some test repositories I found a
consistent failure checking out a part of the gnome svn repository.
This command:
$ svn co http://svn.gnome.org/svn/gimp/trunk/tools/pdbgen/pdb /tmp/tr1
aborts after a while with error:
subversion/svn/checkout-cmd.c:168: (apr_err=175009)
subversion/libsvn_client/checkout.c:230: (apr_err=175009)
subversion/libsvn_client/update.c:555: (apr_err=175009)
subversion/libsvn_client/update.c:413: (apr_err=175009)
subversion/libsvn_ra_serf/update.c:2368: (apr_err=175009)
subversion/libsvn_ra_serf/update.c:2368: (apr_err=175009)
subversion/libsvn_ra_serf/util.c:1499: (apr_err=175009)
subversion/libsvn_ra_serf/util.c:1499: (apr_err=175009)
subversion/libsvn_ra_serf/util.c:1256: (apr_err=175009)
svn: E175009: XML parsing failed: (207 Multi-Status)
The XML parsing fails on the response [1] of a PROPFIND request, on
tag "<C:text/x-perl/>". Strangely enough this is what's returned from
the server, it's not what serf makes of it.
When running svn with ra_neon, these response are all returned as one
update-report, with different syntax, which the xml parser handles
without problem:
<S:set-prop name=\"text/x-perl\">
Digging a bit deeper, it turns out that file text_layer.pdb has a
property with name "text/x-perl", where that should be the value of
property svn:mime-type. This probably shouldn't work in ra_neon
either, but both should give a nice error message. In fact, this
property results in an ugly error with ra_neon too:
$ svn pl http://svn.gnome.org/svn/gimp/trunk/tools/pdbgen/pdb/text_layer.pdb
subversion/libsvn_ra_neon/util.c:608: (apr_err=175002)
svn: PROPFIND of
'/svn/gimp/!svn/bc/28270/trunk/tools/pdbgen/pdb/text_layer.pdb': 207
Multi-Status (http://svn.gnome.org)
Shall I report this as an error message improvement issue?
Lieven
[1]: raw uncompressed dechunked response body:
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:S="http://subversion.tigris.org/xmlns/svn/"
xmlns:C="http://subversion.tigris.org/xmlns/custom/"
xmlns:V="http://subversion.tigris.org/xmlns/dav/" xmlns:lp1="DAV:"
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/"
xmlns:lp2="http://apache.org/dav/props/">
<D:href>/svn/gimp/!svn/bln/28235</D:href>
<D:propstat>
<D:prop>
<C:text/x-perl/>
<lp1:resourcetype/>
<lp1:getcontentlength>28527</lp1:getcontentlength>
<lp1:getcontenttype>text/plain</lp1:getcontenttype>
<lp1:getetag>"28235//trunk/tools/pdbgen/pdb/text_layer.pdb"</lp1:getetag>
<lp1:creationdate>2009-03-31T19:07:12.887203Z</lp1:creationdate>
<lp1:getlastmodified>Tue, 31 Mar 2009 19:07:12 GMT</lp1:getlastmodified>
<lp1:version-name>28235</lp1:version-name>
<lp1:creator-displayname>neo</lp1:creator-displayname>
<lp3:md5-checksum>575e9f71bca4675faedf9cbd374c30b4</lp3:md5-checksum>
<lp3:repository-uuid>f57ce169-c725-0410-9505-c4955b3f21d2</lp3:repository-uuid>
<D:supportedlock>
<D:lockentry>
<D:lockscope><D:exclusive/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
</D:supportedlock>
<D:lockdiscovery/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
se>
</D:multistatus>
Received on 2011-06-19 18:13:54 CEST