Bzr fast-import not finding installed Hg

Gary van der Merwe garyvdm at gmail.com
Thu Nov 11 10:31:02 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/11/2010 12:25, Arnel Legaspi wrote:
> On 11/11/2010 4:30 PM, Alexander Belchenko wrote:
>> IIUC you have installed standalone version of bzr and maybe hg.
>
> Yes, that's exactly what I have - standalone versions of both.
>
>> To make sure fast-export-from-hg works you have to install python-based
>> versions of bzr *and* hg. Python-based versions required you to have
>> installed Python interpreter and some additional libs, e.g. pywin32.
>
> I have Python 2.6.6 installed, along with those Python-based versions of
> both Bzr and Hg, plus I've added PyWin32. Same error message. What other
> libs should I put in?

Make sure you are running "python.exe bzr", and not bzr.exe.

> (Those weren't really mentioned in the docs at
> http://doc.bazaar.canonical.com/plugins/en/fastimport-plugin.html, BTW.)
>
> OTOH, I'm also considering if I should, say, convert it from Hg to Git
> first, then from Git to Bzr. It might be a lossy process, though. Any
> further suggestions/advice?

Like Alexander said:

"Another (better?) solution is to use fast-exporter shipped with
Mercurial installer instead of the one from fast-import plugin. "


Gary

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzbxeQACgkQd/3EdwGKOh2bwACgw6Ff9ppSqkkGNGbH+/4Piuaq
X/sAoISV7rSlCGHJ3k7p9olgg/HwNdRH
=WR4Y
-----END PGP SIGNATURE-----



More information about the bazaar mailing list