Converting Mercurial Repositories to Git
Source, Extra Information, & Further Reading: Mark Heath
Setup:
hg clone https://bitbucket.org/durin42/hg-git
Add to .hgrc or mercurial.ini:
[extensions] hggit = c:/users/…/hg-git/hggit
Convert a Repo:
git init --bare git_bare_repo
hg bookmarks hg hg push path\to\git_bare_repo
git clone git_bare_repo git_regular_repo