It is said that Mercurial's "hg clone" is very cheap... but it is 400MB on my hard drive? (on Mac OS

Posted by Jian Lin on Stack Overflow See other posts from Stack Overflow or by Jian Lin
Published on 2010-06-14T10:47:20Z Indexed on 2010/06/14 10:52 UTC
Read the original article Hit count: 221

Filed under:
|

I have a project I cloned over the network to the Mac hard drive (OS X Snow Leopard).

The project is about 1GB in the hard drive

du -s
2073848 .

so when I hg clone proj proj2

then when I

MacBook-Pro ~/development $ du -s proj
2073848 proj

MacBook-Pro ~/development $ du -s proj2
894840  proj2

MacBook-Pro ~/development $ du -s
2397928 .

so the clone seems not so cheap... probably around 400MB... is that so? also, the whole folder grew by about 200MB, which is not the total of proj and proj2 by the way... are there some links and some are not links, that's why the overlapping is not counted twice?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about hg