Installing hgsubversion with Macports Python

Being reasonably new to python I had a few issues particulary with this error:

 *** failed to import extension hgsubversion from /Users/lstoll/sw/ hgext/hgsubversion/hgsubversion: No module named svn 
Which didn’t help me that much. So here’s how I installed it with Macports in case the same happens to you
sudo port install subversion-python26bindings 
mkdir -p ~/sw/hgext && cd ~/sw/hgext 
hg clone https://bitbucket.org/durin42/hgsubversion/
Then add “hgsubversion=/Users//sw/hgext/hgsubversion/hgsubversion” to your ~/.hgrc

Notes

Show

Blog comments powered by Disqus