News for hackers. Stuff that matters.
Re:Torvalds: git vs CVS by ableal on Sunday April 18, 2010 @03:08PM (#1275288)
I'll leave here a short note on a test I ran with mercurial v1.31, it may give someone ideas. The document was a 45 slide OpenOffice presentation (.odp, OO.org v3.1, Linux). Large font text, nearly all pages had one or more images. Did not delete/replace pics more than a couple of times, but did reorder a bit, especially at the end.

Surprisingly, reordering did not affect much the size of the hg store, which is only 60% over doc size. That may be either because hg is being extremely smart about the content, or because OO doesn't move binary chunks around after they are inserted in the file (more likely).

On each commit, a script noted changeset number and output of 'ls -s' on the doc file and the .hg/.../_file.d store. Only started at 11, and trimmed most of the lines.

    c.set  file   file.d
    11     320     632
    15     488     944
    20     736    1336
    25    1056    1804
    26    2044    2800
    29    2336    3260
    30    2336    3480
    31    2356    3560
    35    2688    4104
    38    2852    4388
    39    2848    4468
    40    2856    4540
    41    2924    4676

There are no comments on this comment yet.