Skip to content

Instantly share code, notes, and snippets.

@codysoyland
Created April 27, 2010 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codysoyland/380897 to your computer and use it in GitHub Desktop.
Save codysoyland/380897 to your computer and use it in GitHub Desktop.
# working with mercurial, the easy way
# requires hg-git
hg clone http://bitbucket.org/ianb/pip
cd pip
hg bookmark hg/default
hg gexport
ln -s .hg/git .git
echo ".hg" >> .git/info/exclude
git reset hg/default
# hack away
git commit
hg gimport
hg push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment