Re: Figured out how to get Mozilla into git
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Jun 10, 2006, 03:41 UTC
- Message-ID
- <46a038f90606092041neadcc54n2acb6272d1f71de7@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0606091853180.5498@g5.osdl.org>
On 6/10/06, Linus Torvalds <torvalds@osdl.org> wrote:
Show 11 quoted lines
> On Fri, 9 Jun 2006, Jon Smirl wrote: > > > > > > Btw, does anybody know roughly how much data a initial "cvs co" takes on > > > the mozilla repo? Git will obviously get the whole history, and that will > > > inevitably be bigger than getting a single check-out, but it's not > > > necessarily orders of magnitude bigger. > > > > 339MB for initial checkout > > And I think people run :pserver: with compression by default, so we're > likely talking about half that in actual download overhead, no?
Yes, most people have -z3, and I agree with you, on paper it sounds like the cost is 1/4 of a git clone.
However.
The CVS protocol is very chatty because the client _acts_ extremely stupid. It says, ok, I got here an empty directory, and the server walks the client through every little step. And all that chatter is uncompressed cleartext under pserver.
So the per-file and per-directory overhead are significant. I can do a cvs checkout via pserver:localhost but I don't know off-the-cuff how to measure the traffic. Hints?
cheers,
martin