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.


2 answers

1 accepted

0 votes
Answer accepted
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:

For troubleshooting clone speeds, check out:

Then this:


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 -- "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 Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

194 views 0 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