Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate all Mercurial repos to Git with the original Issues and Wikis

Gene Parilov
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!
February 7, 2020

It is indeed quite straightforward to migrate a Mercurial repo to Git. However, we have been heavily using Issues and Wiki for our Mercurial repos and have to keep them. Would it be possible to somehow "import" them too into a new Git home at Bitbucket?

In Bitbucket, you can import a repo, but it does not offer a way to import Issues and Wiki. Any suggestions?

1 answer

1 accepted

1 vote
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 7, 2020

Hello @Gene Parilov,

There's export & import process for issues. Under repository settings go to Import & export tab in Issues section. You'll be able to export a ZIP which you can then import to another repository.

There's no similar mechanism for wikis, however they're in fact regular Git/Mercurial repositories (DVCS is same to the repo it belongs to). So you can clone a wiki, convert it and push to another repository's wiki.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

cdaoues
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!
March 10, 2020

Is there any process for pull requests ? I know that the default branch gets renamed to master. But can I, somehow, export/import pull requests.

Like Lukasz Gawron likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events