Import Mercurial/HG repositories to Git
Python C Shell
Switch branches/tags
Nothing to show
Latest commit b083079 Jul 20, 2011 @alexgorbatchev Updated readme.
Permalink
Failed to load latest commit information.
.gitignore add .dotest to .gitignore May 28, 2007
Makefile
README.markdown
hg-fast-export.py
hg-fast-export.sh
hg-fast-export.txt hg-fast-export: Point out that only local repos are supported Jan 16, 2009
hg-reset.py
hg-reset.sh Merge branch 'from-jmcmullan' into develop Dec 20, 2008
hg2git.py Maintain backwards compatibility for ui setup May 25, 2009
svn-archive.c
svn-fast-export.c Obtain svn_fs_t via svn_repos_open() -> svn_repos_fs() Mar 14, 2007
svn-fast-export.py This prevents invalid command errors caused by bytes not being flushe… Jul 16, 2007

README.markdown

Import Mercurial/HG repositories to Git

This was copied from WebOnRails in case the source or repo goes down.

git clone git://github.com/alexgorbatchev/hg-to-git.git
hg clone http://...
mkdir new_git_repo
cd new_git_repo
git init
cd ../new_git_repo
../hg-to-git/hg-fast-export.sh -r ../your_hg_project
git repack -a -d -f
git checkout master

You will need mercurial Python egg

easy_install mercurial