Problem with baz-import?

Robert Denison rob at blim.org
Thu Sep 28 10:36:52 BST 2006


Hi All,

I am reporting this to this list because the file that has the  
assertion error is in the main bzr lib even though I am running it  
from bzrtools.  This problem seems to happen with both baz-import of  
my whole archive or baz-import-branch of just one branch (although I  
have only tried 2 branches with this method).   It seems to happen  
with 0.10 and 0.11 bzr and the corresponding version of bzrtools and  
pybaz 1.1.

The stack trace is:
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
commands.py", line 611, in run_bzr_catch_errors
     return run_bzr(argv)
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
commands.py", line 573, in run_bzr
     ret = run(*run_argv)
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
commands.py", line 282, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/root/.bazaar/plugins/bzrtools/__init__.py", line 583, in run
     reuse_history_list)
   File "/root/.bazaar/plugins/bzrtools/baz_import.py", line 739, in  
baz_import_branch
     reuse_history_from=reuse_history_list)
   File "/root/.bazaar/plugins/bzrtools/baz_import.py", line 430, in  
import_version
     max_count=max_count, standalone=standalone):
   File "/root/.bazaar/plugins/bzrtools/baz_import.py", line 639, in  
iter_import_version
     revprops={})
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
commit.py", line 305, in commit
     self._populate_new_inv()
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
commit.py", line 586, in _populate_new_inv
     change = ie.describe_change(basis_ie, ie)
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
inventory.py", line 379, in describe_change
     text_modified, meta_modified = new_entry.detect_changes(old_entry)
   File "/usr/local/python2.4/lib/python2.4/site-packages/bzrlib/ 
inventory.py", line 628, in detect_changes
     assert old_entry.text_sha1 is not None
AssertionError

bzr 0.11.0candidate2 on python 2.4.3.final.0 (linux2)

Thanks,

Rob.




More information about the bazaar mailing list