Archive

Archive for February, 2012

Converting a Mercurial repository to Git

2012/02/07 Comments off

Note to self:

Converting Hg repos to git using hg-fast-export.

Installation:

$ sudo aptitude install hg-fast-export

Usage:

$ cd new_git_dir

$ git init

$ hg-fast-export -r <hg-repo>

Works with:

git version 1.7.5.4

hg version 2.1

Converting a Subversion repository to Git

2012/02/06 Comments off

Just discovered this:

John Albin wrote an excellent article on how to convert a subversion repository to git:

http://john.albin.net/git/convert-subversion-to-git