Comment 12 for bug 830947

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 830947] Re: AssertionError: ('not present: %r', StaticTuple('', '', 'TREE_ROOT')) making a lightweight checkout

On Thu, Mar 08, 2012 at 10:30:38AM -0000, Yann Golanski wrote:
> Another report of this bug on Fedora 16:
>
>
> Checking out bzr://bzr/rprs/fedora_15 to rprs-fc15
> bzr: ERROR: exceptions.AssertionError: ('not present: %r', StaticTuple('', '', 'TREE_ROOT'))
>
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 946, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1150, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 699, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 721, 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/builtins.py", line 1408, in run
> accelerator_tree, hardlink)
> File "/usr/lib64/python2.7/site-packages/bzrlib/branch.py", line 1455, in create_checkout
> hardlink=hardlink)
> File "/usr/lib64/python2.7/site-packages/bzrlib/bzrdir.py", line 1173, in create_workingtree
> accelerator_tree=accelerator_tree, hardlink=hardlink)
> File "/usr/lib64/python2.7/site-packages/bzrlib/workingtree_4.py", line 1562, in initialize
> delta_from_tree=delta_from_tree)
> File "/usr/lib64/python2.7/site-packages/bzrlib/transform.py", line 2522, in build_tree
> delta_from_tree)
> File "/usr/lib64/python2.7/site-packages/bzrlib/transform.py", line 2638, in _build_tree
> precomputed_delta=precomputed_delta)
> File "/usr/lib64/python2.7/site-packages/bzrlib/transform.py", line 1756, in apply
> self._tree.apply_inventory_delta(inventory_delta)
> File "/usr/lib64/python2.7/site-packages/bzrlib/mutabletree.py", line 51, in tree_write_locked
> return unbound(self, *args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/bzrlib/workingtree_4.py", line 1317, in apply_inventory_delta
> state.update_by_delta(changes)
> File "/usr/lib64/python2.7/site-packages/bzrlib/dirstate.py", line 1432, in update_by_delta
> self._apply_insertions(insertions.values())
> File "/usr/lib64/python2.7/site-packages/bzrlib/dirstate.py", line 1484, in _apply_insertions
> path_utf8=path_utf8)
> File "/usr/lib64/python2.7/site-packages/bzrlib/dirstate.py", line 3159, in update_minimal
> raise AssertionError('not present: %r', entry_key)
> AssertionError: ('not present: %r', StaticTuple('', '', 'TREE_ROOT'))
>
> bzr 2.4.2 on python 2.7.2 (Linux-3.2.9-1.fc16.x86_64-x86_64-with-
> fedora-16-Verne)
> arguments: ['/usr/bin/bzr', 'co', 'bzr://bzr/rprs/fedora_15', 'rprs-fc15']
> plugins: bash_completion[2.4.2], bzrtools[2.4.0], changelog_merge[2.4.2],
> launchpad[2.4.2], netrc_credential_store[2.4.2], news_merge[2.4.2],
> qbzr[0.21.1], weave_fmt[2.4.2]

What is the branch you're trying to check out, how was it created?

Cheers,

Jelmer