/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 bzrlib/graph.py

  • Committer: Aaron Bentley
  • Date: 2008-11-03 18:59:14 UTC
  • mfrom: (3818 +trunk)
  • mto: (0.16.99 shelf-ui)
  • mto: This revision was merged to the branch mainline in revision 3820.
  • Revision ID: aaron@aaronbentley.com-20081103185914-inz25vtsiowydw1p
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1331
1331
        Remove any of the specified revisions from the search list.
1332
1332
 
1333
1333
        None of the specified revisions are required to be present in the
1334
 
        search list.  In this case, the call is a no-op.
 
1334
        search list.
 
1335
 
 
1336
        It is okay to call stop_searching_any() for revisions which were seen
 
1337
        in previous iterations. It is the callers responsibility to call
 
1338
        find_seen_ancestors() to make sure that current search tips that are
 
1339
        ancestors of those revisions are also stopped.  All explicitly stopped
 
1340
        revisions will be excluded from the search result's get_keys(), though.
1335
1341
        """
1336
1342
        # TODO: does this help performance?
1337
1343
        # if not revisions:
1368
1374
                    stop_parents.add(rev_id)
1369
1375
            self._next_query.difference_update(stop_parents)
1370
1376
        self._stopped_keys.update(stopped)
 
1377
        self._stopped_keys.update(revisions - set([revision.NULL_REVISION]))
1371
1378
        return stopped
1372
1379
 
1373
1380
    def start_searching(self, revisions):