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

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,476 views 26 12
Join discussion

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