~jelmer/loggerhead/breezy-compat

« back to all changes in this revision

Viewing changes to loggerhead/search.py

  • Committer: Colin Watson
  • Date: 2019-09-19 08:10:36 UTC
  • mfrom: (491.2.62 breezy)
  • Revision ID: cjwatson@canonical.com-20190919081036-q1symc2h2iedtlh3
[r=cjwatson] Switch loggerhead over to using the Breezy rather than Bazaar APIs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    if _mod_index is not None:
25
25
        return
26
26
    try:
27
 
        from bzrlib.plugins.search import errors
28
 
        from bzrlib.plugins.search import index as _mod_index
29
 
        from bzrlib.plugins.search.index import FileTextHit, RevisionHit
 
27
        from breezy.plugins.search import errors
 
28
        from breezy.plugins.search import index as _mod_index
 
29
        from breezy.plugins.search.index import FileTextHit, RevisionHit
30
30
    except ImportError:
31
31
        _mod_index = None
32
32