[PATCH 0 of 4] implement generaldelta

Pierre-Yves David pierre-yves.david at logilab.fr
Thu May 12 03:46:54 CDT 2011


On Thu, May 05, 2011 at 06:27:55PM +0200, Sune Foldager wrote:
> This implements generaldelta to the point parentdelta was before. It's enabled
> using a config option, format.generaldelta, which I suggest we remove once the
> new bundle format is in place and the wire changes are done.

Be careful with changing the storage format. I met several angry user from the
two other format change.

The main issue is that the error message is very unhelpful and often leave
standard user in a "tool is broken I lost my work" mind state. The most
encoutered case is people using an USB dongle or an external drive to transfert
repository between several computer (desktop//laptop; home//work; office//customer)
with incompatible version.

I advocate a two step migration here:

(1) Improve error message and keep general-delta off by default,
(2) wait a few version,
(3) turn general delta on by default.

Preventing obscure error related to version update is very important for the
image of mercurial IMHO.

-- 
Pierre-Yves David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110512/013faf27/attachment.pgp>


More information about the Mercurial-devel mailing list