~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-06 08:13:23 UTC
  • mto: (4086.1.2 hpss-integration)
  • mto: This revision was merged to the branch mainline in revision 4087.
  • Revision ID: andrew.bennetts@canonical.com-20090306081323-dunguef2eok4wyti
Tweaks requested by Robert's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
    def recreate_search(self, repository, search_bytes):
75
75
        lines = search_bytes.split('\n')
76
 
        from bzrlib.trace import mutter
77
 
        mutter('lines: %r', lines)
78
76
        if lines[0] == 'ancestry-of':
79
 
            start_key = lines[1]
80
 
            search_result = graph.MiniSearchResult(start_key, repository)
 
77
            heads = lines[1:]
 
78
            search_result = graph.PendingAncestryResult(heads, repository)
81
79
            return search_result, None
82
80
        elif lines[0] == 'search':
83
81
            return self.recreate_search_from_recipe(repository, lines[1:])