Mercurial on MacOS X

by Wolfram Saringer  (2009-07-22)
last change: 2009-07-22


When installing Mercurial from source using 'make install' it copies its support files to the directory /usr/local/lib/python2.5/site-packages/
Running 'hg debuginstall' gives an error like this:
abort: couldn't find mercurial libraries in [...]

To correct this do the following:

sudo mv /usr/local/lib/python2.5/site-packages/hgext/ /Library/Python/2.5/site-packages/
sudo mv /usr/local/lib/python2.5/site-packages/mercurial-1.3-py2.5.egg-info /Library/Python/2.5/site-packages/
sudo mv /usr/local/lib/python2.5/site-packages/mercurial/ /Library/Python/2.5/site-packages/

'hg debuginstall' should now run fine.

2009/07/22:
Added link to Mercurial binaries for Mac. Version 1.3 is already present there.



all articles represent the sole opinion of their respective author. all content comes without any warranty for correctnes, despite due diligence.