[PATCH] Add script to rewrite manifest to workaround lack of parent deltas
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Tue Aug 25 22:36:55 UTC 2009
On Tue, Aug 25, 2009 at 04:16:23PM +0200, Benoit Boissinot wrote:
> On Mon, Aug 24, 2009 at 05:16:18PM -0400, Greg Ward wrote:
> > # HG changeset patch
> > # User Greg Ward <greg-hg at gerg.ca>
> > # Date 1233047576 0
> > # Node ID 9235025c8eb4219a045b8c9d3e95ce5079b2488d
> > # Parent 20ed9909dbd9251f76cacb463c480488eebf736b
> > Add script to rewrite manifest to workaround lack of parent deltas.
>
> I tested it in the kernel repo, and there are some nodes with duplicate
> parents (p1 = p2), so it needs the fix below.
The result on a fresh clone of the kernel repo (158152 revs in the
manifest):
old file size: 703584066 bytes ( 671.0 MiB)
new file size: 177162218 bytes ( 169.0 MiB)
shrinkage: 74.8% (4.0x)
I didn't clone the whole repo, so I don't know how big it is, but I
think the manifest is 1/2 or 1/3 of it. It would be nice if someone
could check.
cheers,
Benoit
--
:wq
More information about the Mercurial-devel
mailing list