Point hgsubversion to self-compiled subvertpy? (Windows)
Steve Borho
steve at borho.org
Fri Aug 22 17:11:30 UTC 2014
On 08/22, Judson Craft wrote:
> Extremely sorry to bother the main mercurial list, but after copious googling I cannot find any discussion area for the subvertpy bindings (the only mailing list at launchpad seems inactive for two years). Is there a better place to discuss this?
>
> I've hand-compiled svn bindings for 1.8.9 and subvertpy 0.9.1 for Python on Windows (64-bit) mainly out of sheer stubbornness, and I couldn't find a x64 package for them anywhere online (apparently building 64-bit Windows Python bindings with 2008 compiler tools is uncommon).
>
> My problem is I can't get them to work with hgsubversion 1.6.3 and mercurial 3.1.
>
> Subvertpy is installed to C:\Python27\Lib\site-packages\subvertpy, and my .hgrc is as follows:
>
> [extensions]
> hgsubversion =
>
> [hgsubversion]
> bindings = subvertpy
>
> But hg version --svn says:
>
> "Subversion X required, but no bindings were found
> Subvertpy Y required, but not found"
>
> I didn't have this problem when I pip-installed 32-bit versions, and since I'm using the exact same subvertpy archive and setup.py for the 64-bit build I would expect the installation to be equally functional.
>
> All required SVN shared libraries are present in site-packages/subvertpy.
>
> Am I missing something simple? I feel so close.
The 64bit TortoiseHg Windows installers come with python-svn bindings
and hgsubversion, all you need to do is enable hgsubversion.
This doesn't necessarily answer your question, but it's probably an
alternative solution.
FWIW: I've never found functioning subvertpy libraries for Windows
--
Steve Borho
More information about the Mercurial
mailing list