The version control software market has evolved a lot since Bitbucket began in 2008. When we launched, centralized version control was the norm and we only supported Mercurial repos.
But Git adoption has grown over the years to become the default system, helping teams of all sizes work faster as they become more distributed.
As we surpass 10 million registered users on the platform, we're at a point in our growth where we are conducting a deeper evaluation of the market and how we can best support our users going forward.
After much consideration, we've decided to remove Mercurial support from Bitbucket Cloud and its API. Mercurial features and repositories will be officially removed from Bitbucket and its API on June 1, 2020.
Read on to learn more about this decision, the important timelines, and get migration resources and support.
The timeline and how this may affect your team
Here are the key dates as we sunset Mercurial functionality:
- February 1, 2020: users will no longer be able to create new Mercurial repositories
- June 1, 2020: users will not be able to use Mercurial features in Bitbucket or via its API and all Mercurial repositories will be removed.
All current Mercurial functionality in Bitbucket will be available through May 31, 2020.
Here’s why we’re focusing on Git
This wasn’t an easy decision, and Mercurial will always have a special place in Bitbucket’s history.
DevOps adoption has skyrocketed over the last decade and our customers are adopting this new way of working at an exponential rate. In this time, Bitbucket has steadily grown from being just a version control management tool to being a place to manage the entire software development lifecycle.
And there's always more work to be done.
This year we will concentrate on building deeper integrations to enhance automation and collaboration. Our improvements will make it even easier and safer to plan, code, test, and deploy all from within Bitbucket.
Building quality features requires intense focus, and supporting two version control systems means splitting focus – doubling shipping time and technical overhead. With Git being the more popularly used tool, Mercurial runs the risk of overlooked issues as we scale.
According to a Stack Overflow Developer Survey, almost 90% of developers use Git, while Mercurial is the least popular version control system with only about 3% developer adoption. In fact, Mercurial usage on Bitbucket is steadily declining, and the percentage of new Bitbucket users choosing Mercurial has fallen to less than 1%.
This deprecation will enable us to focus on building the best possible experience for our users.
How to migrate and export
We recommend that teams migrate their existing Mercurial repos to Git. There are various Git conversion tools in the market, including hg-fast-export and hg-git mercurial plugin. We are happy to support your migration, and you can find a discussion about available options in our dedicated Community thread.
If you prefer to continue using the Mercurial system, there are a number of free and paid Mercurial hosting services.
We realize that there is no one-size-fits-all solution. That's why we've created the following resources to best equip you with the knowledge and tools for a seamless transition:
- A Community thread to discuss conversion tools, migration, tips, and offer troubleshooting help
- A Git tutorial that covers anywhere from the basics of creating pull requests to rebasing and Git hooks
We want to thank all the loyal users who have grown with us over the years. We look forward to this new focus on our roadmap and to introducing exciting new features.