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

Re: ra_serf bug(s)

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 10 Oct 2014 17:08:59 +0100

Lieven Govaerts wrote:
>> ra_serf makes a series of valid requests (200 OK) before finally
>> asking the server for REPLAY of r0. In this case the server is
>> googlecode.com. In response to the invalid REPLAY it gave a 500 Server
>> Error response. I will attach a pcap.
> Googlecode returns the 500 Internal Error, svn.apache.org will happily
> return the content of r0.
> IMO googlecode is doing the wrong thing here, there's nothing special
> about r0 (it's empty, but still a valid revision).

Hi Lieven. I disagree with that point. There are two different meanings of "revision": a
snapshot, and a change between one snapshot and the next. r0 is a valid snapshot, but it is not a valid *change*. A "replay" request sounds to me like a request to tell us what changed between snapshot (X - 1) and snapshot X. (Although it would be *possible* to define that a replay request for r0 should respond that the difference between revision (-1) and revision (0) is a valid, empty difference, in my opinion it is not logical to do so.)

- Julian
Received on 2014-10-10 18:09:34 CEST

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.