Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial repo too large, can't connect, clone

Our BitBucket repo has grown to over 3 gigs and now when I try to clone in SourceTree all I get is the trying to connect symbol. When I try in Tortoise it clones to a certain point then disconnects saying it expected # bytes but got #.

I can't download the .zip from BitBucket because it's too large. What can I do to clone?

like image 834
RapsFan1981 Avatar asked Jun 28 '14 12:06

RapsFan1981


1 Answers

Clone to an old revision, using hg clone -r <revision>, and pull the rest. You can also pull progressively, if necessary.

like image 76
Vince Avatar answered Sep 21 '22 03:09

Vince