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.
In the Git folder with all my Git repositories I created the Git2Hg.cmd file with the following content:
Git
Git2Hg.cmd
set PATH=%PATH%;C:\Program Files\TortoiseHg set PATH=%PATH%;C:\Program Files\Git\bin hg convert %1
Now I can convert a Git repository to Hg by typing this in a CMD:
Git2Hg "Folder Name"