Clone wiki

BitBucket Hg to Git / Home

BitBucket Hg to Git

Ed Randall, 2/11/19

Following the recent announcement that BitBucket will be 'sunsetting' support for Mercurial repositories from 1/6/20 it became fairly urgent for me to find a straightforward solution to migrate my Hg projects over to Git.

I only have a few projects but an automated approach should be less error-prone and able to preserve project metadata where possible. I therefore created this simple tool to handle my migration needs.

The script can be found in the Git project edrandall/bitbucket-hg-to-git and is dedicated to the community.

There is an FAQ which may answer some questions. Please feel free to modify it for your own needs or even raise issues and pull-requests if necessary.