Bazaar cannot commit and complains about missing file id

Nicholas Allen nick.allen at onlinehome.de
Sat May 19 12:02:18 BST 2007


If I try to revert the changes I get this assertion:

bzr: ERROR: exceptions.AssertionError: what error should this raise

Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 638, 
in run_bzr_catch_errors
     return run_bzr(argv)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 600, 
in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 296, 
in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 
2782, in run
     not no_backup, pb, report_changes=True)
   File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 
38, in tree_write_locked
     return unbound(self, *args, **kwargs)
   File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 
1813, in revert
     report_changes)
   File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 
1424, in revert
     filenames, backups)
   File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 
1470, in _alter_files
     wt_sha1 = working_tree.get_file_sha1(file_id)
   File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 
410, in get_file_sha1
     assert entry[0] is not None, 'what error should this raise'
AssertionError: what error should this raise

Nick



More information about the bazaar mailing list