subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <>
Subject Re: Why do we check the base checksum so often?
Date Mon, 06 Feb 2012 17:18:08 GMT
> Hyrum K Wright wrote:

>> What's driving this discussion is this:  Up until this point in the
>> Ev2 shims we've been supplying a NULL base checksum for apply
>> textdelta, which the receivers have dutifully ignored.  However, when
>> the Ev2 shims attempt to be honest about the fact that they are using
>> the empty stream for the text base, the receivers start complaining,
>> because that's not what they expected---even though the end result is
>> the same.  In essence, all these checks are returning false positives,
>> which is extremely unpleasant.
>> I don't know that there is an easy way around this, since by the time
>> we're translated from Ev2->delta-editor, we don't have the original
>> text base, or its checksum, available to us.  We have the full text,
>> which is the reason the new text base is the empty stream: it's the
>> only one we need.
>> Does that make any sense?

Yes that makes sense.  (Sorry I got sidetracked when I thought you were saying the producer
should be able to choose any arbitrary base.)
- Julian

View raw message