help: stuck on old SWIG bindings for hgsvn
Oscar Sanchez Casamitjana
oscar.lists at mac.com
Thu Jan 8 08:47:44 UTC 2009
hi,
yesterday I discovered the HGSVN plugin, I do web development and I
prefer to use HG over GIT for this, but for certain projects i depend
on external SVN repositories and until now there was nothing compared
to git-svn.
I'm no expert Python user, so please bear with me. I'm running Mac OS
X Leopard 10.5.6 with factory Python. I'm following this post linked
from the plugin's page:
http://blog.red-bean.com/sussman/?p=116
I've followed all the steps but I'm currently I'm stuck on this one:
$ python -c "import svn.core; print svn.core.SVN_VER_MINOR"
5
$ # if you get something less than 5, you may have conflicting
$ # versions installed, and may need to set PYTHONPATH
I get a 4 and can't make a `hg svnclone`:
$ hg svnclone http://svn.example.com/repos hg-repos
You are using old Subversion SWIG bindings.
Replay will not work until you upgrade to 1.5.0 or newer.
Falling back to a slower method that may be buggier.
Please upgrade, or contribute a patch to use the ctypes bindings
instead of SWIG.
abort: could not import module bindings.!
here are the tool install path and versions:
$ which python
/usr/bin/python
$ python --version
Python 2.5.1
$ which hg
/usr/local/bin/hg
$ hg --version
Mercurial Distributed SCM (version 1.1.1+20081229)
$ which swig
/usr/bin/swig
$ swig -version
SWIG Version 1.3.31 Compiled with g++ [powerpc-apple-darwin9.0]
I also tried to set Python SWIG bindings (got it from Trac
installation) with:
$echo /usr/local/lib/svn-python > /Library/Python/2.5/svn-python.pth
but it still does not work.
what do I need to fix it?
TIA — oscar
More information about the Mercurial
mailing list