/m2g

Mercurial to git migration

Primary LanguageShell

m2g

Mercurial to git migration with https://github.com/frej/fast-export

System Requirements

  • Git for Windows
  • Python 2.7
  • Mercurial >= 4.6

Usage authors.map

Usage

$ sh m2g.sh

Inputs

Importants

  • If your commits contains not asccii chracters,You have to use encoding
  • If your author names contains double "<" or double ">",You have to use authors.map

Using fast-export

https://github.com/frej/fast-export

After completed note

Don't forget to change the .hgignore to .gitignore

$ git mv .hgignore .gitignore