Closed MacDada closed 10 years ago
macdada$ ls -alh /usr/local/bin/git-remote-hg lrwxr-xr-x 1 macdada admin 37B May 7 13:42 /usr/local/bin/git-remote-hg -> ../Cellar/git/1.9.2/bin/git-remote-hg macdada$ git --version git version 1.9.2 macdada$ hg --version Mercurial Distributed SCM (version 3.0) macdada$ git clone "hg::https://MacDada@bitbucket.org/kwi/urllinker" Cloning into 'urllinker'... env: python2: No such file or directory
I also tried to just add it as a remote, same problem.
macdada$ mkdir UrlLinker && cd UrlLinker macdada$ git init Initialized empty Git repository in /Users/macdada/Documents/programowanie/forks/UrlLinker/.git/ macdada$ git remote add upstream "hg::https://MacDada@bitbucket.org/kwi/urllinker" macdada$ git fetch upstream env: python2: No such file or directory
NVM: It was my env error – no "python2" binary ;-)
Hacky solution: ln -s /usr/bin/python2.7 /usr/local/bin/python2
ln -s /usr/bin/python2.7 /usr/local/bin/python2
I also had to install python's mercurial module: sudo easy_install -U mercurial
sudo easy_install -U mercurial
I also tried to just add it as a remote, same problem.