Can we use both Git and Mercurial to access to a single repository?

Kazuyoshi Furutaka
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!
November 8, 2015

This question is in reference to Atlassian Documentation: Set up version control

Ask your question here...

2 answers

1 accepted

0 votes
Answer accepted
evzijst
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2015

No. A repo's underlying SCM is determined at repo creation time and fixed thereafter. A Mercurial repo cannot be cloned with the git client, or vice versa.

It is true that some translation software exists that allows a git repo to be pushed to with a mercurial client (e.g. http://hg-git.github.io/), but ultimately that is just your machine using an separate tool to translate hg to git.

0 votes
Kaz
Contributor
November 9, 2015

You can use the Hg-Git Mercurial extension to access Git repositories if you want to use both Git and Mercurial for a repository. I don't know if such an extension exists for Git. 

Kazuyoshi Furutaka
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!
November 10, 2015

Thanks Kaz for the information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events