BzrTools - baz-import trouble

Andrew Warshaver awarshaver at janestcapital.com
Wed Jun 13 15:33:44 BST 2007


Hello,
I am trying to import my baz archive, named with my email address, to be 
used by bzr.  I am running bzr version 0.15.0.
When I try this:
$ bzr baz-import imp9 awarshaver at janestcapital.com
importing awarshaver at janestcapital.com/first--production--1.0 into 
/home/awarsha ver/imp9/first/1.0/production

this happens:
Cleaning up
bzr: ERROR: exceptions.AssertionError: attempting to write an inventory 
when the  dirstate is dirty will cause data loss
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 650, 
in run_b zr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 612, 
in run_b zr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 304, 
in run_a rgv_aliases
    return self.run(**all_cmd_args)
  File "/home/awarshaver/.bazaar/plugins/bzrtools/__init__.py", line 
612, in run
    verbose, reuse_history_list, prefixes)
  File "/home/awarshaver/.bazaar/plugins/bzrtools/baz_import.py", line 
791, in b az_import
    reuse_history_list, prefixes=prefixes)
  File "/home/awarshaver/.bazaar/plugins/bzrtools/baz_import.py", line 
829, in i mport_archive
    standalone=standalone)
  File "/home/awarshaver/.bazaar/plugins/bzrtools/baz_import.py", line 
438, in i mport_version
    standalone=standalone):
  File "/home/awarshaver/.bazaar/plugins/bzrtools/baz_import.py", line 
667, in i ter_import_version
    target_tree.set_inventory(baz_inv)
  File "/usr/lib/python2.4/site-packages/bzrlib/mutabletree.py", line 
38, in tre e_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 
1893, in s et_inventory
    self._write_inventory(inv)
  File "/usr/lib/python2.4/site-packages/bzrlib/mutabletree.py", line 
38, in tre e_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree_4.py", line 
1212, in  _write_inventory
    assert not self._dirty, "attempting to write an inventory when the 
dirstate is dirty will cause data loss"
AssertionError: attempting to write an inventory when the dirstate is 
dirty will  cause data loss

bzr 0.15.0 on python 2.4.3.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'baz-import', 'imp9', 
'awarshaver at janestcapital.com' ]

** please send this report to bazaar at lists.ubuntu.com

Any help as to why this happens would be greatly appreciated.

Sincerely,
Andrew



More information about the bazaar mailing list