bzr-fastimport-0.13.0 incompatible with bzr-2.5.1
Tassilo Horn
tsdh at gnu.org
Tue Jul 31 19:19:38 UTC 2012
Hi all,
I'm trying to convert a CVS repository to bazaar. Therefore, I used
cvs2bzr [fn:1] to create a dumpfile that I can fast-import. However,
that gives the following error:
--8<---------------cut here---------------start------------->8---
% bzr fast-import ../cvs2svn-tmp/dumpfile.fi auctex.bzr
bzr: warning: unsupported locale setting
bzr could not set the application locale.
Although this should be no problem for bzr itself, it might
cause problems with some plugins. To investigate the issue,
look at the output of the locale(1p) tool.
bzr: ERROR: exceptions.ImportError: cannot import name error
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 920, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 1131, in run_bzr
ret = run(*run_argv)
File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 695, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport/__init__.py", line 350, in run
from bzrlib.plugins.fastimport.processors import generic_processor
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport/processors/generic_processor.py", line 31, in <module>
from bzrlib.plugins.fastimport import (
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport/branch_updater.py", line 22, in <module>
from bzrlib.trace import error, note
ImportError: cannot import name error
bzr 2.5.1 on python 2.6.5 (Linux-2.6.32-40-server-x86_64-with-
Trisquel-4.1-taranis)
arguments: ['/usr/bin/bzr', 'fast-import', '../cvs2svn-tmp/dumpfile.fi',
'auctex.bzr']
plugins: bash_completion[2.5.1], changelog_merge[2.5.1], etckeeper[unknown],
fastimport[0.9.0dev], launchpad[2.5.1], netrc_credential_store[2.5.1],
news_merge[2.5.1], po_merge[2.5.1], svn[1.2.1], weave_fmt[2.5.1]
encoding: 'ascii', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
--8<---------------cut here---------------end--------------->8---
Indeed, when checking the bzr-2.5 branch I can see that bzrlib.trace
does not contain a function `error'. So are bzr-2.5.1 and
bzr-fastimport-0.13.0 incompatible to each other?
Bye,
Tassilo
Footnotes:
[fn:1] http://cvs2svn.tigris.org/cvs2bzr.html
More information about the bazaar
mailing list