[PATCH] revlog experiment

Matt Mackall mpm at selenic.com
Fri Mar 3 04:04:55 UTC 2006


On Thu, Mar 02, 2006 at 08:25:22PM -0500, Chris Mason wrote:
> 
> Hello everyone,
> 
> This patch is still pretty raw, but it implements revlog-ng and delta-vs-parent and packed data files for hg.  This basically creates
> three revlog formats.  v0 (current hg) v1 (Matt's revlog-ng) and 
> v2 (revlog-ng + delta vs parent).

Hmmm. I was visualizing using one of the new flag bits to indicate
delta against parent. We might have a heuristic for when to delta
against parent (say, when last version is x multiples of size away
from the tip).
 
> When v2 is used, packed files are used wherever possible.  More
> tuning can be added later to make packing more optional, but the patch
> is big enough already.

...and keeping packing an option on top of parent deltas.

Still keen on finding out what happens with compression-with-context.
It makes a huge difference for bundles and for the wire protocol,
where we uncompress individual revisions and recompress them in a
single stream.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list