/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/graph.py

  • Committer: Jelmer Vernooij
  • Date: 2018-04-02 00:52:27 UTC
  • mfrom: (6939 work)
  • mto: This revision was merged to the branch mainline in revision 7274.
  • Revision ID: jelmer@jelmer.uk-20180402005227-pecflp1mvdjrjqd6
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1374
1374
        included_keys = self.seen.difference(excludes)
1375
1375
        return self._started_keys, excludes, included_keys
1376
1376
 
1377
 
    def _get_result(self):
1378
 
        """Get a SearchResult for the current state of this searcher.
1379
 
 
1380
 
        :return: A SearchResult for this search so far. The SearchResult is
1381
 
            static - the search can be advanced and the search result will not
1382
 
            be invalidated or altered.
1383
 
        """
1384
 
        from breezy.vf_search import SearchResult
1385
 
        (started_keys, excludes, included_keys) = self.get_state()
1386
 
        return SearchResult(started_keys, excludes, len(included_keys),
1387
 
            included_keys)
1388
 
 
1389
1377
    def step(self):
1390
1378
        try:
1391
1379
            return next(self)
1713
1701
        self._graph.add_node((revision,), [(p,) for p in parents])
1714
1702
 
1715
1703
 
1716
 
_counters = [0,0,0,0,0,0,0]
 
1704
_counters = [0, 0, 0, 0, 0, 0, 0]
1717
1705
try:
1718
1706
    from ._known_graph_pyx import KnownGraph
1719
1707
except ImportError as e: