removing a subtree with conflicts causes a traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Unassigned |
Bug Description
I have two trees which I wanted to merge (long ago, I forgot the
details), which I now wanted to clean up, and I remember that the
merge produced some conflicts. This is a website, and things have
been shuffled around a bit. First, I review the current tree's status:
$ bzr st
removed:
Info/
cgi/kvhs/
... some more
added:
doc/
doc/Info/
renamed:
Cert => doc/Cert
FSA => doc/FSA
Fortbildung => doc/Fortbildung
Impressum.html => doc/Impressum.html
Info => doc/Info
...some more
modified:
doc/Info/Weg.html
...
doc/kvhstm.css
unknown:
cgi/danke.pl
... some more
conflicts:
Conflict adding files to cgi/kvhs. Created directory. <--- This directory is not there!
Contents conflict in cgi/kvhs/danke.pl
Conflict adding files to cgi/kvhs/dat. Created directory. <--- And this isn't there, too.
Contents conflict in cgi/kvhs/
Contents conflict in cgi/kvhs/
... some more
After reading this, I realized that I no longer have "cgi/kvhs" (see the top of
the listing), and decided to
$ bzr rm --keep cgi/kvhs
removed cgi/kvhs
because I thought I'd "resolve" a lot of bogus conflicts that way.
Unfortunately, I now get this result when trying to view my
tree's status:
$ bzr st
bzr: ERROR: exceptions.
parent of: (('cgi/kvhs', 'DBConf.pm', 'dbconf.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
show_
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
result = _process_
File "/usr/lib/
raise AssertionError(
AssertionError: Could not find target parent in wt: cgi/kvhs
parent of: (('cgi/kvhs', 'DBConf.pm', 'dbconf.
bzr 1.5 on python 2.4.4 (linux2)
arguments: ['/usr/bin/bzr', 'st']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.utf8'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Changed in bzr: | |
importance: | Undecided → Low |
milestone: | none → 1.6.1 |
status: | New → Fix Released |
I believe the assertion error is fixed in 1.6 and above; you may need to
recreate your tree (do a remove-tree and then a 'checkout .') though,
because 1.5 writes bad data to the dirstate.
-Rob