~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.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:
1436
1436
        return '\n'.join((start_keys, stop_keys, count))
1437
1437
 
1438
1438
    def _serialise_search_result(self, search_result):
1439
 
        if isinstance(search_result, graph.MiniSearchResult):
1440
 
            parts = ['ancestry-of', search_result.start_key]
 
1439
        if isinstance(search_result, graph.PendingAncestryResult):
 
1440
            parts = ['ancestry-of']
 
1441
            parts.extend(search_result.heads)
1441
1442
        else:
1442
1443
            recipe = search_result.get_recipe()
1443
1444
            parts = ['search', self._serialise_search_recipe(recipe)]