Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Binarno 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 comment

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 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events