Hg to Git: Tool that convert issues referencing Mercurial hashes to issues with Git hashes

Binarno
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2019

Since Bitbucket deprecated Mercurial, I converted my repos from Hg to Mercurial.

I also exported the Bitbucket issues from the Mercurial repos and imported them in their Git counterpart: however all the issues references to commits stopped working.

So, I've created a tool that modified the files that Bitbucket creates during the issues export and replace all the references to Hg commits with the proper Git hashes, then imported the modified file into the Git repos and..voila'.

The tool is here: https://bitbucket.org/binarno/bitbucketconverthgissuestogit

1 answer

0 votes
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2020

Thanks a lot for your sharing @Binarno 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events