[PATCH 4 of 5] manifestv2: add support for reading new manifest format
Mike Hommey
mh at glandium.org
Thu Apr 2 20:38:31 CDT 2015
On Wed, Apr 01, 2015 at 09:19:03PM -0500, Matt Mackall wrote:
> On Thu, 2015-04-02 at 09:01 +0900, Mike Hommey wrote:
> > - Why put file entries on two lines? The 20-byte nodeid could be
> > preceded with a null character, which would solve the readdelta
> > issue mentioned at the end of the document, but maybe the goal is to
> > make deltas smaller when only the nodeid changes?
>
> http://mercurial.selenic.com/wiki/ImprovingManifestCompressionPlan
"3.1. Delta-friendly line breaks
The bdiff delta format is based on line breaks."
Well, that's not actually true. The delta format used in revdiffs is
line-break agnostic. The diff algorithm that generates them only splits
at line-breaks, though, but revdiffs could just as well contain offsets
that aren't line breaks.
Mike
More information about the Mercurial-devel
mailing list