Error importing mercurial branch
jorges
jorgesmbox-ml at yahoo.es
Tue Feb 5 07:55:23 GMT 2008
Lukáš Lalinský <lalinsky <at> gmail.com> writes:
>
> On Po, 2008-02-04 at 01:53 +0000, jorges wrote:
> > Hi,
> > I tried to import a mercurial branch into bzr, getting tracebacks with both
> > hg and hgimport (see at the end of this message). This is with bzr-1.1 and
> > very recent hgimport and hg plugins. This is with python 2.4.4, if that
> > matters.
>
> [...]
>
> > $ bzr hg-import ../mybranch-hg
> > bzr: ERROR: exceptions.ImportError: cannot import name defaultdict
>
> Yes, the "hgimport" plugin required Python 2.5. It's trivial to make it
> work with 2.4, but I never had a reason to do it before. It should be
> run fine with 2.4 now.
>
hg-import works fine, though this is with python 2.5 now (one of the things I
tried yesterday was to install python 2.5). If it is important, I can downgrade
again to verify the fix (it seems fair to me that one expects a little work from
us also). However, that would take a couple of days, as I'll be pretty busy
today and tomorrow.
jorges
More information about the bazaar
mailing list