svn conversion + Windows

Pascal Quantin pascal.quantin at gmail.com
Wed Apr 27 14:32:08 CDT 2011


Le 27/04/2011 21:21, Steve Borho a écrit :
> Svn conversion is all the rage at the moment.
>
> I've been recently attempting to pull up my Windows installer
> environments to Python 2.7.1 (from 2.6.6) and am currently blocked by
> the lack of pre-built Python bindings for subversion.  I've been
> entertaining the idea of switching to subvertpy at this point just to
> bite all the churn at once, however it seems that 'hg convert' will
> not use the subvertpy bindings.  Is this true?  And if so, should this
> be a deal blocker?  Are there repositories that hgsubversion cannot
> convert but the convert extension can tackle?
>
> I hear a lot of chatter that the SWIG bindings are mostly dead but
> subvertpy is not yet mature, but we also seem to have a need for both
> of them.  I have very little interest in trying to ship both of them..
> this is a Mercurial installer not a subversion installer.  I'm
> actually contemplating packaging both of them separately somehow.
>
> Any guidance from those in the know
Hi Steve,

from my own experience, subvertpy is much faster than SWIG but sometimes
fail where the SWIG bindings do not. Last time I tried it failed to
clone its own subversion mirror (svn://svn.samba.org/subvertpy). That's
why I switch between them using the environment variable
HGSUBVERSION_BINDINGS when needed. Moreover as you stated convert needs
the SWIG bindings.
That's why I package both in the Inno Setup installer.
By the way, I hope to have a x64 subvertpy package soon...

Regards,
Pascal.


More information about the Mercurial-devel mailing list