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

Re: SVN 1.8.1 Errors - Show Log and Commit New Files

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 05 Aug 2013 11:41:57 +0100

Lieven Govaerts <lgo_at_apache.org> writes:

>> C:\Customer>svn log -v ./
>> svn: E175002: Unexpected HTTP status 501 'Method Not Implemented' on '/Subversio
>> n/W3000_Customer_198.622-00_Customer_DRL/!svn/bc/14/trunk/03_Software'
>>
>> svn: E200007: Additional errors:
>> svn: E200007: The requested report is unknown.
>
> For this part of your issue, I'm interested in seeing a network trace
> (wireshark, fiddler) between your client and server. If that's
> possible for you, you can send them privately. Filter out any
> unrelated traffic and basic/digest authentication headers if possible.

That's easy to reproduce using 1.1.4 mod_dav_svn:

svnadmin create repo --compatible-version 1.1
svn mkdir -mm file://`pwd`/repo/A
svn co http://localhost/repo/A wc
svn log -v wc

The client is sending a get-location-segments REPORT request which is
new in 1.5 and not supported by earlier mod_dav_svn.

OPTIONS /obj/repo/A HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.2-dev (x86_64-unknown-linux-gnu) serf/1.2.2
Content-Type: text/xml
Connection: keep-alive
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Content-Length: 131

<?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set></D:activity-collection-set></D:options>HTTP/1.1 200 OK
Date: Mon, 05 Aug 2013 10:28:38 GMT
Server: Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e DAV/2 SVN/1.1.4
DAV: 1
DAV: version-control,checkout,working-resource
DAV: merge,baseline,activity,version-controlled-collection
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,CHECKOUT
Content-Length: 188
Keep-Alive: timeout=5
Connection: Keep-Alive
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:options-response xmlns:D="DAV:">
<D:activity-collection-set><D:href>/obj/repo/!svn/act/</D:href></D:activity-collection-set></D:options-response>
OPTIONS /obj/repo/A HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.2-dev (x86_64-unknown-linux-gnu) serf/1.2.2
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Transfer-Encoding: chunked

42
<?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:" />
0

HTTP/1.1 200 OK
Date: Mon, 05 Aug 2013 10:28:38 GMT
Server: Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e DAV/2 SVN/1.1.4
DAV: 1
DAV: version-control,checkout,working-resource
DAV: merge,baseline,activity,version-controlled-collection
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,CHECKOUT
Content-Length: 97
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:options-response xmlns:D="DAV:">
</D:options-response>
PROPFIND /obj/repo/A HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.2-dev (x86_64-unknown-linux-gnu) serf/1.2.2
Content-Type: text/xml
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Depth: 0
Transfer-Encoding: chunked

12c
<?xml version="1.0" encoding="utf-8"?><propfind xmlns="DAV:"><prop><version-controlled-configuration xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>
0

HTTP/1.1 207 Multi-Status
Date: Mon, 05 Aug 2013 10:28:38 GMT
Server: Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e DAV/2 SVN/1.1.4
Content-Length: 678
Content-Type: text/xml; charset="utf-8"

<?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:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/obj/repo/A/</D:href>
<D:propstat>
<D:prop>
<lp1:version-controlled-configuration><D:href>/obj/repo/!svn/vcc/default</D:href></lp1:version-controlled-configuration>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp2:baseline-relative-path>A</lp2:baseline-relative-path>
<lp2:repository-uuid>71d71533-4707-4b1a-86cb-88d8fd12bffd</lp2:repository-uuid>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
PROPFIND /obj/repo/!svn/vcc/default HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.2-dev (x86_64-unknown-linux-gnu) serf/1.2.2
Content-Type: text/xml
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Depth: 0
Label: 1
Transfer-Encoding: chunked

94
<?xml version="1.0" encoding="utf-8"?><propfind xmlns="DAV:"><prop><baseline-collection xmlns="DAV:"/><version-name xmlns="DAV:"/></prop></propfind>
0

HTTP/1.1 207 Multi-Status
Date: Mon, 05 Aug 2013 10:28:38 GMT
Server: Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e DAV/2 SVN/1.1.4
Vary: Label
Content-Length: 449
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:" xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/obj/repo/!svn/bln/1</D:href>
<D:propstat>
<D:prop>
<lp1:baseline-collection><D:href>/obj/repo/!svn/bc/1/</D:href></lp1:baseline-collection>
<lp1:version-name>1</lp1:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
REPORT /obj/repo/!svn/bc/1/A HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.2-dev (x86_64-unknown-linux-gnu) serf/1.2.2
Content-Type: text/xml
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Transfer-Encoding: chunked

bd
<S:get-location-segments xmlns:S="svn:"><S:path></S:path><S:peg-revision>1</S:peg-revision><S:start-revision>1</S:start-revision><S:end-revision>0</S:end-revision></S:get-location-segments>
0

HTTP/1.1 501 Method Not Implemented
Date: Mon, 05 Aug 2013 10:28:38 GMT
Server: Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e DAV/2 SVN/1.1.4
Content-Length: 228
Connection: close
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="200007">
The requested report is unknown.
</m:human-readable>
</D:error>

-- 
Philip Martin | Subversion Committer
WANdisco | Non-Stop Data
Received on 2013-08-05 12:42:34 CEST

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