Slow Clone from HG Repo In Bitbucket

Darren Beckwith December 4, 2013

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!

4 answers

1 accepted

0 votes
Answer accepted
Ryuichi Yano January 19, 2014
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
Roozbeh Sanaei July 30, 2019

Bitbucket seems to be quite slow compared to other available service. Probably not a technical issue.

0 votes
hritikarthur March 20, 2019

Hello everyone, just restart all your network devices like your modems, routers, hotspots and whatever you are using to get connected to internet. 

This worked for me.

I was also facing the same issue, everything else was getting good speed except bitbucket, but it is solved when I restarted my mobile (I was using mobile's internet using hotspot)

0 votes
AgentSmith
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 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

Darren Beckwith December 8, 2013

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.

Darren Beckwith December 8, 2013

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
TAGS
AUG Leaders

Atlassian Community Events