Last active
December 22, 2015 16:29
-
-
Save stavxyz/6499821 to your computer and use it in GitHub Desktop.
a postactivate hook for git-hg interop supported by virtualenvwrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This hook is run after this virtualenv is activated. | |
##################################### | |
## To setup a venv which | |
## has git-hg interopability | |
## | |
## Fetches latest script | |
## | |
## Using virtualenv, virtualenvwrapper, | |
## and git-remote-hg.py | |
## | |
## Once activated, you can | |
## | |
## git clone hg::http://selenic.com/hg | |
## | |
##################################### | |
cdsitepackages | |
curl https://raw.github.com/felipec/git/fc/master/git-remote-hg.py -o git-remote-hg | |
chmod 755 git-remote-hg | |
export PATH=$PATH:${PWD} | |
cd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment