why is hg pull so slow?

When I hg clone my bitbucket repo it takes 40 minutes. When I hg pull my repo it can take 20-30 minutes even if not much has changed. My .hg folder is about 200MB.

Can anyone help me troubleshooting this? I get similar performance whether I am on the corporate connection or my home ADSL2+ connection.

2 answers

1 accepted

This widget could not be displayed.

My experience with Mercurial in particular is that adding large binaries to the repo results in a huge memory footprint whenever they are operated on, slowing the works down to a crawl.

If your changesets are very large, or otherwise contain large binaries, I would highly advise switching to GIT instead, which doesn't have such problems.

I'd go with GIT also. It works a lot better.

This widget could not be displayed.

Hi Jerry,

Note that DVCS soultions are designed to handle few amounts of data, so large binaries (we don't recommend binaries on DVCS) and hundreds of MB will naturaly takes some time to sync. I believe that Git (also supported on Bitbucket) is little bit faster, so maybe you can try it to solve this issue.

Cheers,

Lucas

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...

1,295 views 8 11
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