HG clone network performance

Patrick Mézard pmezard at gmail.com
Mon Dec 17 12:39:21 UTC 2007


Roman Kennke a écrit :
> Hi,
> 
> 
>> On Dec 17, 2007 4:53 PM, Roman Kennke <roman.kennke at aicas.com> wrote:
>>> clone. We have a Mercurial repository of ~300MB, pulling this over the
>>> line to Japan takes about 1,5h, compared to 0,5h for one working
>>> directory checkout of the same thing over CVS. Both use SSH with
>> CVS gets you only the branch/version/tag you have requested for and
>> hence is light initially.
>> Mercurial creates a local repository with complete history and hence
>> would be much bigger in size than your CVS checkout.
> 
> Yeah sure, I considered that. I'm not talking about the actual amount of
> data transferred (this is  ~300MB for the HG vs. 200MB CVS data). I was
> only wondering, why HG doesn't saturate the line when cloning. I wonder
> if there's room for optimization here?

The --uncompressed option may make sense if you cannot saturate your line, give it a try.



More information about the Mercurial mailing list