The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events