Differences between revisions 6 and 7
Revision 6 as of 2010-08-20 06:45:30
Size: 764
Editor: Pradeepkumar
Comment:
Revision 7 as of 2010-08-20 06:50:35
Size: 869
Editor: Pradeepkumar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
Line 28: Line 27:
At a distance of 4 * len(fulltext) 11MB to 4.2MB
Line 30: Line 31:

`danchr` in IRC quotes that 2GB repo compressed to ~380MB

ConvertParentdelta

This extension is not distributed with Mercurial.

Author:Pradeepkumar Gayam

Download site:http://selenic.com/hg/file/tip/contrib/compress.py

Overview

This extension is used to convert normal repositories into parentdelta repos.

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
compress = /path/to/file

[format]
parentdelta = True

Usage

hg compress -R from to

Stats

inserting full revision at a distance of 2 * len(fulltext) mercurial repository compressed to: 11MB to 4.4MB

At a distance of 4 * len(fulltext) 11MB to 4.2MB

At a distance of 6 * len(fulltext): 11MB to 2.0MB

danchr in IRC quotes that 2GB repo compressed to ~380MB


CategoryExtension CategoryExtensionsByOthers CategoryExtension

CompressExtension (last edited 2012-11-04 02:28:18 by mpm)