David Michael Barr

git-remote-hg

16 Jul, 2013 – Sydney

Following is a quick brain dump of getting set up with git-remote-hg.

sudo easy_install -U mercurial
curl -O https://raw.github.com/git/git/master/contrib/remote-helpers/git-remote-hg
chmod +x git-remote-hg
mv git-remote-hg ~/bin/
git config --global remote-hg.hg-git-compat true
git config --global remote-hg.force-push false
git clone hg::<hg-url>

git hooks to CYA when using hg-git mode with git-remote-hg