~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-06 01:45:28 UTC
  • mfrom: (3211.5.4 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080206014528-rb8v4hl04mgxulb7
(robertc) Tune RemoteRepository.get_parent_map to not send duplicate
        results, and to compress the data,
        reducing round trips further. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
514
514
            # exclude keys for them. However, while we could have a second
515
515
            # look-ahead result buffer and shuffle things around, this method
516
516
            # is typically only called once per search - when memoising the
517
 
            # results of the search.
 
517
            # results of the search. 
518
518
            found, ghosts, next, parents = self._do_query(self._next_query)
519
519
            # pretend we didn't query: perhaps we should tweak _do_query to be
520
520
            # entirely stateless?