# Mercurial to Git: After Bitbucket Dropped Support | gen2.dev

> Mercurial is still released, but Bitbucket removed its Mercurial support in 2020. What converting a repository to Git involves and who should stay.

Source: https://gen2.dev/successors/mercurial/

---

Successor Map · Version control

# Mercurial to Git: the tool survived, the hosting left

Mercurial is still released. What changed is the ground under it: Bitbucket, a major host, removed Mercurial support in 2020 and told teams to convert to Git.

![Slide: Mercurial on the left, an arrow, and Git on the right.](https://gen2.dev/img/successor-mercurial.png)

Status of the old tool

Still active

Effort to move

Mechanical

gen2.dev's view

Move when convenient

Sources checked

2026-11-28

## Key facts

Gen 1

![Mercurial logo](https://gen2.dev/icons/tech/mercurial.png)Mercurial

Gen 2

![Git logo](https://gen2.dev/icons/tech/git.png)Git

Kind of tool

[Version control](https://gen2.dev/successors/version-control/)

Status of Gen 1

Still active The Mercurial site lists release 7.2, dated 2026-01-29, and carries no statement that the project is deprecated or in maintenance mode. PyPI lists bugfix release 7.2.4, uploaded 2026-08-11.

Effort to move

Mechanical: same ideas, different calls

What breaks

Mercurial accepts author, branch and tag names that Git does not, so each needs a mapping file before the conversion.

Should you move?

Move when convenient Mercurial is maintained, but a major host removed it for lack of use, so the supporting services are fewer than they were. This is gen2.dev's view, not the maintainers'.

Sources checked

2026-11-28, [5 sources](#sources)

## Gen 1 and Gen 2 side by side

Where it is published

![Mercurial logo](https://gen2.dev/icons/tech/mercurial.png)Gen 1

![Git logo](https://gen2.dev/icons/tech/git.png)Gen 2

Package or repository

[mercurial](https://pypi.org/project/mercurial/) (PyPI)

[git/git](https://github.com/git/git) (GitHub)

Latest version

7.2.4

v2.55.1 (newest tag)

Latest release

Aug 11, 2026

Nov 3, 2026

First release

Jul 16, 2013

\-

Repository created

\-

Jul 23, 2008

License

GPL-2.0-or-later

Not identified by GitHub

Downloads, last week

80,198

\-

GitHub stars

\-

64,553

Last code push

\-

Nov 29, 2026

Archived

\-

No

Read from the package registry and GitHub on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count. Stars measure attention, not use. A dash means the figure does not apply to that kind of listing.

Here the old tool is healthy. Its surroundings are what thinned out.

## What Gen 1 was

Mercurial describes itself as "a free, distributed source control management tool." It is the same kind of tool as Git. The Pro Git book lists both as distributed systems, in which clients "fully mirror the repository, including its full history."

It is still released. The project's site lists Mercurial 7.2, dated January 29, 2026, and PyPI has bugfix releases since, up to 7.2.4 on August 11, 2026.

The turning point was hosting. Atlassian wrote: "After much consideration, we've decided to remove Mercurial support from Bitbucket Cloud and its API."

The dates came in steps. From February 1, 2020, users could no longer create new Mercurial repositories. On July 1, 2020, Mercurial repositories, snippets and wikis turned read-only. An update dated August 26, 2020 says all of them had been disabled.

## What replaced it

Git. Atlassian gave its reasons in numbers. It cited a 2018 Stack Overflow survey in which "almost 90% of developers use Git," and said of its own service that "the percentage of new Bitbucket users choosing Mercurial has fallen to less than 1%."

Its advice was plain: "We recommend that teams migrate their existing Mercurial repos to Git."

## What moving involves

The conversion is well trodden. The Pro Git book says that because the two tools "have fairly similar models for representing versions," converting a repository "is fairly straightforward, using a tool called 'hg-fast-export'."

The steps are short. Clone the Mercurial repository. List its authors and write a mapping file. Create an empty Git repository and run `hg-fast-export.sh` against the Mercurial one. Push the result to its new server.

After that it is a [cutover](https://gen2.dev/guide/cutover/): pick a moment, freeze the old repository, and point every build job and developer at the new one.

## What breaks

Names. The book warns that "Mercurial is a bit more forgiving than Git for what it will put in the author field," and calls the conversion "a good time to clean house."

The same applies to branches and tags. A mapping file is used "to rename branches and tags when the Mercurial name is not allowed by Git."

Bitbucket's removal also covered wikis and snippets, which is a reminder that a repository host holds more than commits. Check what else lives beside yours.

## Should you move?

Move when it is convenient. Mercurial is maintained, so nothing is on fire, but one large host dropped it because almost nobody new was choosing it.

The exceptions are teams with working Mercurial hosting and tooling they are happy with. Atlassian said as much: "there are a number of free and paid Mercurial hosting services."

## Common questions

### Is Mercurial dead?

No. Its maintainers have not announced an end. The Mercurial site lists release 7.2, dated 2026-01-29, and carries no statement that the project is deprecated or in maintenance mode. PyPI lists bugfix release 7.2.4, uploaded 2026-08-11.

### What replaced Mercurial?

Git. Effort to move: Mechanical: same ideas, different calls

### Should I move off Mercurial?

gen2.dev's view: Move when convenient. Mercurial is maintained, but a major host removed it for lack of use, so the supporting services are fewer than they were.

## Sources

1.  [Mercurial SCM - mercurial-scm.org](https://www.mercurial-scm.org/) - the description of Mercurial and the listing of release 7.2, dated 2026-01-29
2.  [mercurial - PyPI](https://pypi.org/project/mercurial/) - the latest release, 7.2.4, uploaded 2026-08-11
3.  [Sunsetting Mercurial support in Bitbucket - Atlassian (April 21, 2020)](https://www.atlassian.com/blog/bitbucket/sunsetting-mercurial-support-in-bitbucket) - the removal of Mercurial from Bitbucket Cloud, the dates, the usage figures given as reasons, and the migration advice
4.  [Migrating to Git - Pro Git book](https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git) - the hg-fast-export conversion steps and the author, branch and tag mapping files
5.  [About Version Control - Pro Git book](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) - that Git and Mercurial are both distributed systems that mirror the full repository
6.  [mercurial - PyPI](https://pypi.org/project/mercurial/) - latest version, release dates, license and last week's downloads, read on November 29, 2026
7.  [git/git - GitHub](https://github.com/git/git) - latest release, license, stars, last push and archive status, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

## How to do the move

The pattern that fits this kind of replacement:

[The cutover](https://gen2.dev/guide/cutover/)

[All successor entries](https://gen2.dev/successors/)

Also moving to Git:

-   [CVS](https://gen2.dev/successors/cvs/)
-   [Subversion](https://gen2.dev/successors/subversion/)

## More in Version control

-    [![CVS logo](https://gen2.dev/icons/tech/cvs.png) CVS to Git Abandoned A real project Move when convenient](https://gen2.dev/successors/cvs/)
-    [![Subversion logo](https://gen2.dev/icons/tech/subversion.png) Subversion to Git Still active A real project Leave it](https://gen2.dev/successors/subversion/)

[All version control](https://gen2.dev/successors/version-control/)
