[PATCH 1 of 2 censor RFC] revlog: special case expanding full-replacement deltas received by exchange

Michael Edgar adgar at google.com
Tue Feb 10 17:14:52 CST 2015


On Tue, Feb 10, 2015 at 5:02 PM, Martin von Zweigbergk <
martinvonz at google.com> wrote:

>
>
> On Tue Feb 10 2015 at 1:40:34 PM Mike Edgar <adgar at google.com> wrote:
>
>> +            # special case deltas which replace entire base; no need to
>> decode
>> +            # base revision, which is cheaper and neatly avoids censored
>> bases.
>
>
> Is it noticeably cheaper? Would it be most useful on binary content? And
> least useful on big files with small changes? I'm asking mostly out of
> curiosity; I'm not really worried about the cost.
>
>
I'm actually going to remove that "cheaper" bit from the comment, because
the point of the change is solely to support censored base revisions. And
in so doing, dodge answering a question to which I don't have the answer :)


-- 
Michael Edgar | Software Engineer | adgar at google.com | 518-496-6958
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150210/b612b44c/attachment.html>


More information about the Mercurial-devel mailing list