Hi, As promised, here is the final details of comparing SubVersion and Git using the *full* Lazarus history.
Lazarus repository statistics: * repository age is 8 years and 3 months * 23 unique users have committed to the repository in that time * 17246 revisions have been recorded. SubVersion sizes: ----------------------- * HEAD normal checkout = 314MB (that means 1 revision only and no history) * HEAD exported (no .svn folders) = 76MB (latest revision of source code only) So far that means SubVersion adds 238MB of noise simply to manage ONE revision!!! I guess there is a lot of crap in those .svn folders. Git sizes: ------------ * HEAD checkout using Git = 108MB (that's 1 revision with no history - which is what svn does normally) So Git is already 206MB smaller than SubVersion using the HEAD revision only. That's quite a saving of space, but that's not the impressive bit yet. * Complete checkout with *full* history of every revision = 133MB!!! That means Git add only 25MB to manage 17246 revisions of history! Plus the full history with Git is smaller than a single checkout with SVN!! So I then compressed the full history checkout with Git using 7zip. That created an archive of 66MB. So to summarize: You can download the full history of Lazarus repository for only 66MB and it is smaller than a single (latest revision) checkout via SVN. If Lazarus every decides to move to Git, I would recommend such an archive gets created on a monthly basis. So users can download, unpack and then do a update. SVN doesn't have an option to checkout the full history to the client side, so I can't compare that size, but I can image it must be in the Gigabyte range considering that a single revision takes up 314MB and there are 17246 revisions! So there is no doubt that Git is extremely optimized for size and it's very impressive how much information it can store in such a little space. Plus it will save considerable download time. I'll be keeping the Git version of the Lazarus repository. So if total disaster strikes you guys can simply get a copy from me. ;-) Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
