breaks against newer versions of bzr

Bug #844806 reported by Jelmer Vernooij on 2011-09-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr search plugin
Jelmer Vernooij

Bug Description

newer versions of bzr now provide "match" as a dictionary rather than a plain string. This causes breakage of "bzr log -m" as well as the bzr-search testsuite:

    log: {{{
5.603 creating repository in file:///tmp/testbzr-Fj8Pww.tmp/
5.606 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x896390c> in file:///tmp/testbzr-Fj8Pww.tmp/
5.614 trying to create missing lock '/tmp/testbzr-Fj8Pww.tmp/'
5.669 opening working tree '/tmp/testbzr-Fj8Pww.tmp/'

Traceback (most recent call last):
  File "/build/buildd/bzr-search-1.7.0~bzr86~ppa79~oneiric1/tests/", line 745, in test_get_filter_no_index
    tree.branch, False, "\\bword\\b", base_iterator))
  File "/build/buildd/bzr-search-1.7.0~bzr86~ppa79~oneiric1/", line 1487, in make_disable_search_filter
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 870, in _make_search_filter
    for (k,v) in match.iteritems()]
AttributeError: 'str' object has no attribute 'iteritems'

Related branches

Jelmer Vernooij (jelmer) on 2011-09-08
Changed in bzr-search:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
importance: Medium → High
Jelmer Vernooij (jelmer) on 2011-09-19
Changed in bzr-search:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer) on 2012-04-08
Changed in bzr-search:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers