repository disk usage

M.A. Williamson maw48 at cam.ac.uk
Thu Aug 11 15:42:47 CDT 2005


>> linux-2.6-git$ du -s -h
>> 335M    .
>> linux-2.6-hg$ du -s -h
>> 449M    .
>
> Is that the full 2.6 history git (from bkcvs) or the mainline Linus git 
> tree, which starts its history considerably more recently? IIRC, the hg 
> repository stores the whole 2.6 history.

Bzzzzt! I'm wrong :-) Since the introduction of packfiles in git, the hg 
Linux repos is a mirror of the Linux 2.6 tree, so these repos are storing 
the same amount of history.

In agreement with your results, I get:
linux-2.6.git: 337M
linux-2.6.hg: 450M

A couple more datapoints:
old-2.6-bkcvs.git (the full 2.6 history): 412M

linux-2.6.12.tar.bz2: 36M
linux-2.6.12 (uncompressed): 236M

This actually leads me to an interesting question: has anybody investigated 
the effects of using bzip2 compression in either git or hg?

Cheers,
Mark


More information about the Mercurial mailing list