AssertionErorr "name .. already in parent" during _generate_inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Repository Originally created with bzr rev 1.15-1. Currently at rev 2.0.3-2.
Windows version.
This is the error seen when trying to update the local branch.
I cannot use update or revert on this branch without it crashing.
Here is the bzr status output:
C:\ProjectName>bzr status
working tree is out of date, run 'bzr update'
removed:
.bzrignore
modified:
file123.py
unknown:
file456.log
Here is the bzr update output:
C:\ProjectName>bzr update
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\merge.pyo", line 1567, in merge_inner
File "bzrlib\merge.pyo", line 508, in do_merge
File "bzrlib\merge.pyo", line 480, in _do_merge_to
File "bzrlib\merge.pyo", line 620, in do_merge
File "bzrlib\merge.pyo", line 652, in _compute_transform
File "bzrlib\merge.pyo", line 702, in _entries3
File "bzrlib\
File "bzrlib\tree.pyo", line 201, in iter_entries_by_dir
File "bzrlib\
File "bzrlib\
AssertionError: name u'.bzrignore' already in parent
bzr 2.0.3 on python 2.5.4 (Windows-
arguments: ['bzr', 'update']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
[2.0.3]
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** 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:/
including this traceback and a description of the problem.
Here is the bzr revert output:
C:\ProjectName>bzr revert
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
AssertionError: name u'.bzrignore' already in parent
bzr 2.0.3 on python 2.5.4 (Windows-
arguments: ['bzr', 'revert']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
[2.0.3]
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** 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:/
including this traceback and a description of the problem.
Hi, Dan,
You can probably get unstuck from this by making a new working tree here. For example if this is a regular branch then
bzr branch work.broken work.new
This looks like bug 279680 (believed probably fixed in 2.0.3) and bug 377261 (still incomplete).
If the filenames in your tree are not secret, you could help us debug this by attaching the .bzr/checkout/ dirstate file to this bug.