newer versions break bzr-loom

Bug #801257 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Jelmer Vernooij

Bug Description

newer versions of bzr (between 2.4beta3 and beta4?) break bzr-loom:

ERROR: bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom
    Text attachment: log
------------
3.442 creating repository in file:///tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work/.bzr/.
3.444 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x28b7350> in file:///tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work/
3.450 trying to create missing lock '/tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work/.bzr/checkout/dirstate'
3.450 opening working tree '/tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work'
3.456 opening working tree '/tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work'
3.459 opening working tree '/tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work'
3.465 preparing to commit
    INFO Committing to: /tmp/testbzr-aNyJ_P.tmp/bzrlib.plugins.loom.tests.test_branch.TestLoom.test_revert_loom_remove_current_thread_mid_loom/work/
3.468 Selecting files for commit with filter None
    INFO Committed revision 1.
3.476 Committed revid <email address hidden> as revno 1.
    INFO All changes applied successfully.
3.511 opening working tree '/tmp/testbzr-aNyJ_P.tmp'
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 563, in _run_test_method
    return self._get_test_method()()
  File "/home/jelmer/src/bzr-loom/trunk/tests/test_branch.py", line 550, in test_revert_loom_remove_current_thread_mid_loom
    tree.down_thread()
  File "/home/jelmer/src/bzr/foreign/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr-loom/trunk/tree.py", line 216, in down_thread
    self.tree.set_parent_trees(parent_list)
  File "/home/jelmer/src/bzr/foreign/bzrlib/mutabletree.py", line 51, in tree_write_locked
    return unbound(self, *args, **kwargs)

  File "/home/jelmer/src/bzr/foreign/bzrlib/workingtree_4.py", line 1170, in set_parent_trees
    dirstate.set_parent_trees(real_trees, ghosts=ghosts)
  File "/home/jelmer/src/bzr/foreign/bzrlib/dirstate.py", line 2752, in set_parent_trees
    self._entries_to_current_state(new_entries)
  File "/home/jelmer/src/bzr/foreign/bzrlib/dirstate.py", line 1143, in _entries_to_current_state
    if new_entries[0][0][0:2] != ('', ''):
IndexError: list index out of range
------------

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.4b5
status: In Progress → Fix Released
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.