bzr stat crashes after deleting new directories

Bug #277476 reported by kripken
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Here is the output:

$ bzr stat
bzr: ERROR: exceptions.AssertionError: Could not find target parent in wt: docs
parent of: (('docs', 'config.html', 'config.html-20080719122650-l3lo0djdo0opb1yb-61'), [('f', 'c27595297e9824c9923557a42c61ae4ee6b36552', 34753L, 0, 'AACHwUgwIdNIgd17AAAIBQAImUgAAIGk'), ('f', 'c27595297e9824c9923557a42c61ae4ee6b36552', 34753L, 0, 'alon@dignity-20080719122803-aqiyrggpp002p80f')])

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 800, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 189, in run
    to_file=self.outf, short=short, versioned=versioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/status.py", line 114, in show_tree_status
    want_unversioned=want_unversioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 93, in changes_from
    want_unversioned=want_unversioned,
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 727, in compare
    want_unversioned=want_unversioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/delta.py", line 217, in _compare_trees
    want_unversioned=want_unversioned):
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 2332, in iter_changes
    result = _process_entry(current_entry, None)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 2076, in _process_entry
    % (new_dirname, entry))
AssertionError: Could not find target parent in wt: docs
parent of: (('docs', 'config.html', 'config.html-20080719122650-l3lo0djdo0opb1yb-61'), [('f', 'c27595297e9824c9923557a42c61ae4ee6b36552', 34753L, 0, 'AACHwUgwIdNIgd17AAAIBQAImUgAAIGk'), ('f', 'c27595297e9824c9923557a42c61ae4ee6b36552', 34753L, 0, 'alon@dignity-20080719122803-aqiyrggpp002p80f')])

bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'stat']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

What happened is I added docs/html/some-file, and bazaar added all of docs/, which I didn't want. Perhaps foolishly, I renamed docs to something else to see what would happen, and then bzr stat starting doing the error pasted above. Renaming docs back to 'docs' doesn't help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.