Comment 5 for bug 150438

Revision history for this message
Gregor Müllegger (gregor-muellegger) wrote : Re: AssertionError: Could not find target parent in wt in wt4 _process_entry

This Error also occurs on my machine:

phxx@tinkyra:~/projects/rpg/trunk/test$ bzr st
bzr: ERROR: exceptions.AssertionError: Could not find target parent in wt: test/test_rpg
parent of: (('test/test_rpg', '__init__.py', '__init__.py-20080229141146-kku1k78xed8uu1ux-138'), [('f', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 0L, 0, 'AAAAAEgHobFIB6GxAAAIBABcxNkAAIGk'), ('f', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 0L, 0, '<email address hidden>')])

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: test/test_rpg
parent of: (('test/test_rpg', '__init__.py', '__init__.py-20080229141146-kku1k78xed8uu1ux-138'), [('f', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 0L, 0, 'AAAAAEgHobFIB6GxAAAIBABcxNkAAIGk'), ('f', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 0L, 0, '<email address hidden>')])

bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'st']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.9]
*** 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.

I have done before a refactoring of the brunch.
There also passes a few athor "bzr st" without any error.

phxx@tinkyra:~/projects/rpg/trunk/test$ bzr st test_rpg/tests
phxx@tinkyra:~/projects/rpg/trunk/test$ bzr mv test_rpg/tests/ rpg
test/test_rpg/tests => test/rpg
phxx@tinkyra:~/projects/rpg/trunk/test$ ls
playercharacter rpg test_rpg
phxx@tinkyra:~/projects/rpg/trunk/test$ bzr rm test_rpg/
deleted test/test_rpg