3.0.2 convert from bazaar did not works
Matt Mackall
mpm at selenic.com
Thu Jul 17 17:05:46 UTC 2014
[cc-ed back to mercurial fml]
On Thu, 2014-07-17 at 09:46 +0400, Василий Гречишников wrote:
> Hi!
>
> Linux? He. he it's quite tempting.
It will very likely be easier to download and install VirtualBox +
Ubuntu image and run your convert than get bzrlib properly installed.
> You are very precisious to describe my state - frustration.
> I guessed that if hg contain module called "convert", it have to contain
> all necessary dependendt modules or methods for it's finding and loading.
Believe it or not, we don't actually implement complete support for
natively reading git/p4/svn/cvs/bzr/darcs/arch/monotone in only 268k of
code. We rely on (parts of) those other systems being installed.
> I completely not familiar with python.
> As I may understand win32 hg.exe using some kind of embedded python in
> python27.dll.
> What kind of modules (dll, pyo, pyd) I have to place. And where
> python27.dll will search that modules?
Here's how it works:
$ python
Python 2.7.5+ (default, Sep 17 2013, 15:31:50)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path <- show where python searches for things
['', '/home/mpm/lib/python', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
>>> import bzrlib <- the stuff we need successfully loads
>>> bzrlib.__file__ <- show where we found it
'/usr/lib/python2.7/dist-packages/bzrlib/__init__.pyc'
If you can successfully import bzrlib like this, you're ready to go.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list