Converting from bzr on Windows 7

Matt Mackall mpm at selenic.com
Thu Nov 15 21:44:50 UTC 2012


[resent: google groups braindamage]

On Wed, 2012-11-14 at 13:56 -0800, Patrick van der Velde wrote:
> Hi All
> 
> I'm trying to convert a bzr repository (208 revisions, format 2a) to hg but 
> I'm running into some problems. I've followed the instructions from the 
> wiki (http://mercurial.selenic.com/wiki/ConvertExtension). When I execute 
> the following command line:
>    hg convert -v -s bzr c:\temp\bzr2hg\bzr c:\temp\bzr2hg\hg
> 
> I get the following message:
>   initializing destination c:\temp\bzr2hg\hg repository
>   bzr source type could not be determined
>   abort: DLL load failed: The specified module could not be found.!
> 
> I have installed:
> * python 2.6.6 (python-2.6.6.msi) from the python website
> * mercurical  2.2.2 (mercurial-2.2.2.win32-py2.6.exe)
> * bzr 2.6b1 (bzr-2.6b1-1.win32-py2.6.exe)
> * Win32 extensions (pywin32-218.win32-py2.6.exe) (these were necessary 
> because win32file was missing
> 
> Has anybody got any suggestions on what my next steps could be?

The easiest one is probably 'find a Linux user to help you'.

Alternately, you might be able to run hg with --debugger and figure out
what DLL it's trying to load. My off-the-cuff guess: it's trying to load
something in Bzr that's not accessible to Mercurial given the way Bzr
and Mercurial are built on Windows.

Alternately, you can attempt to build both Bzr and Mercurial from source
and learn enough about Python's library management to get them to play
together.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list