hg-git converted repo is massive

v voldermort at hotmail.com
Wed Jan 30 08:13:39 UTC 2013


Kastner Masilko, Friedrich-2 wrote
> With some tweaks to the revlog class, you can get a kernel-repo clone down
> to 2GB, but it would cost you in terms of speed. I've submitted an
> appropriate patch to the crew, but Matt rejected it with a very plausible
> explanation in this devel-list thread:
> http://selenic.com/pipermail/mercurial-devel/2012-July/042600.html .

It seems that mercurial is optimised for mechanical discs, but a mutually
exclusive optimisation is needed for SDDs (space is expensive but random
access is cheap). Could this be an option to configure when the repository
is created, similar to the way that MySQL lets you choose a storage engine
when creating a database? (Obviously not quite the same, because the UI
would be identical either way - it's only the internal storage algorithms
that have changed.)



--
View this message in context: http://mercurial.808500.n3.nabble.com/hg-git-converted-repo-is-massive-tp3997676p3997797.html
Sent from the General mailing list archive at Nabble.com.



More information about the Mercurial mailing list