How do I convert a git repository to mercurial?

后端 未结 9 1102
隐瞒了意图╮
隐瞒了意图╮ 2021-01-29 20:31

I\'ve been developing a java application using git as source code repository. I\'d like to share the project with other java developers and hg seems to be most used by them.

9条回答
  •  遇见更好的自我
    2021-01-29 21:19

    The hg convert utility isn't on by default after installation. In order to set it as such add the following to your .hgrc file.

    [extensions]
    hgext.convert=
    

    If you're using TortoiseHg on Windows then this file resides in your home directory as mercurial.ini. After this setting change you will be able to use the hg convert utility.

提交回复
热议问题