I've been using 2.2.4 from proposed, and bzr-search has its test suite fail:
======================================================================
ERROR: bzrlib.plugins.search.tests.test_index.TestGraphIndexSuggestions.test_key_length_2_no_hits(BTree)
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
5.902 opening working tree '/tmp/testbzr-z0SX5I.tmp'
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 507, in _run_test_method
return self._get_test_method()()
File "/home/robertc/.bazaar/plugins/search/tests/test_index.py", line 703, in test_key_length_2_no_hits
list(query_index.iter_entries_starts_with(('pref', 'pref'))))
File "/home/robertc/.bazaar/plugins/search/index.py", line 1450, in iter_entries_starts_with
items = sorted(node.items())
AttributeError: '_LeafNode' object has no attribute 'items'
------------
I don't know if this is a regression in the SRU or not.
I've been using 2.2.4 from proposed, and bzr-search has its test suite fail:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. search. tests.test_ index.TestGraph IndexSuggestion s.test_ key_length_ 2_no_hits( BTree) ------- ------- ------- ------- ------- ------- ------- ------- ------- z0SX5I. tmp' python2. 6/dist- packages/ testtools/ runtest. py", line 169, in _run_user python2. 6/dist- packages/ testtools/ testcase. py", line 507, in _run_test_method test_method( )() robertc/ .bazaar/ plugins/ search/ tests/test_ index.py" , line 703, in test_key_ length_ 2_no_hits query_index. iter_entries_ starts_ with((' pref', 'pref')))) robertc/ .bazaar/ plugins/ search/ index.py" , line 1450, in iter_entries_ starts_ with node.items( ))
ERROR: bzrlib.
-------
_StringException: Text attachment: log
------------
5.902 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args, **kwargs)
File "/usr/lib/
return self._get_
File "/home/
list(
File "/home/
items = sorted(
AttributeError: '_LeafNode' object has no attribute 'items'
------------
I don't know if this is a regression in the SRU or not.