Slow Clone from HG Repo In Bitbucket

Hi, I'm new to Bitbucket and I want to use it to replace our local Rhodecode instance.

My initial tests worked well but now I am experiencing very slow clones over HTTPS and SSH to my windows machine. The HG repos aren't large (in my opinion) and I only have my local clone speed to compare against.

I was hoping someone could help me troubleshoot this.

Thanks!

2 answers

1 accepted

Accepted Answer
0 votes
So do I.
HG CLONE over https takes just 20 seconds. HG CLONE over ssh takes about 5-6 minutes.
But with the "uncompressed" option, it takes 30-40 seconds.
I use the latest TortoiseHG on Windows 8. My SSH program is the TortoisePlink.exe.

0 votes
Jason Worley Atlassian Team Dec 08, 2013

There are no wide spread reports and when you say they aren't large, are they well under 1GB? If not you will want to review this:

https://confluence.atlassian.com/pages/viewpage.action?pageId=273877699

For troubleshooting clone speeds, check out:

http://stackoverflow.com/questions/18658291/very-slow-hg-clone-for-big-bitbucket-repo

Then this:

https://confluence.atlassian.com/display/BBKB/Network+Troubleshooting+Guide

Jason,

Thanks for the reply. The repos I'm trying to clone are in the range of 90MB to 200MB. The part that is slow seems to be the file chunk download according to TortoiseHG. I'm doing this from the company I work for which has a 50mbs pipe up and down. I am trying the secpnd link you suggested and using the -U switch. Is there any other way to debug this. My local clones (internal) servers are quite fast.

For example I just started a clone at 11:19AM PST

From TortoiseHG Clone

% hg clone --noupdate --verbose -- https://darrenbeckwith@bitbucket.org/carmanahtechnologies/a704-h "C:\dbeckwith\temp\bar"
requesting all changes
adding changesets
adding manifests
adding file changes
added 822 changesets with 3062 changes to 968 files
[command completed successfully Mon Dec 09 11:26:31 2013]

This repo is 86.6MB accoding to Bitbucket stats.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,281 views 9 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you