Happens to me too, after doing 'bzr remove --keep OUT', where OUT is directory with versioned files.
Now both 'bzr ls' and 'bzr inventory' crash with:
% bzr --no-plugins ls
bzr: ERROR: exceptions.AssertionError: name u'T15jack.hex' already in parent
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1111, in run_bzr
ret = run(*run_argv)
File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 704, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1126, in ignore_pipe
result = func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/bzrlib/builtins.py", line 2571, in run
from_dir=relpath, recursive=recursive):
File "/usr/lib64/python2.7/site-packages/bzrlib/workingtree.py", line 1160, in list_files
inv = self.inventory
File "/usr/lib64/python2.7/site-packages/bzrlib/workingtree_4.py", line 401, in _get_inventory
self._generate_inventory()
File "/usr/lib64/python2.7/site-packages/bzrlib/workingtree_4.py", line 337, in _generate_inventory
% (name_unicode,))
AssertionError: name u'T15jack.hex' already in parent
This originally happened on WinXP with Python 2.5 (current bzr suite install), I have the repository state backed up.
Attaching dirstate of the affected checkout.
Happens to me too, after doing 'bzr remove --keep OUT', where OUT is directory with versioned files.
Now both 'bzr ls' and 'bzr inventory' crash with:
% bzr --no-plugins ls AssertionError: name u'T15jack.hex' already in parent
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 7/site- packages/ bzrlib/ commands. py", line 911, in exception_ to_return_ code python2. 7/site- packages/ bzrlib/ commands. py", line 1111, in run_bzr python2. 7/site- packages/ bzrlib/ commands. py", line 689, in run_argv_aliases **all_cmd_ args) python2. 7/site- packages/ bzrlib/ commands. py", line 704, in run .run_simple( *args, **kwargs) python2. 7/site- packages/ bzrlib/ cleanup. py", line 135, in run_simple python2. 7/site- packages/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups python2. 7/site- packages/ bzrlib/ commands. py", line 1126, in ignore_pipe python2. 7/site- packages/ bzrlib/ builtins. py", line 2571, in run dir=relpath, recursive= recursive) : python2. 7/site- packages/ bzrlib/ workingtree. py", line 1160, in list_files python2. 7/site- packages/ bzrlib/ workingtree_ 4.py", line 401, in _get_inventory _generate_ inventory( ) python2. 7/site- packages/ bzrlib/ workingtree_ 4.py", line 337, in _generate_inventory
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run(
File "/usr/lib64/
return self._operation
File "/usr/lib64/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
from_
File "/usr/lib64/
inv = self.inventory
File "/usr/lib64/
self.
File "/usr/lib64/
% (name_unicode,))
AssertionError: name u'T15jack.hex' already in parent
bzr 2.2.0 on python 2.7.0 (Linux- 2.6.34- gentoo- r2-x86_ 64-AMD_ Athlon- tm-_Dual_ Core_Processor_ 5050e-with- gentoo- 2.0.1)
arguments: ['/usr/bin/bzr', '--no-plugins', 'ls']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: None
plugins:
This originally happened on WinXP with Python 2.5 (current bzr suite install), I have the repository state backed up.
Attaching dirstate of the affected checkout.