~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: John Arbash Meinel
  • Date: 2008-10-30 15:20:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3812.
  • Revision ID: john@arbash-meinel.com-20081030152000-pzfowc2mapr41kut
make _walk_to_common responsible for stopping ancestors
and assume that callers that call 'stop' late will handle ancestors,
so don't bother testing what happens if they don't.

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
1335
 
1336
 
        It's ok to stop searching for a revision seen in a previous iteration,
1337
 
        but doing so won't automatically cause later revisions that are
1338
 
        connected via that revision to be stopped as well.  All explicitly
1339
 
        stopped revisions will be excluded from the search result's get_keys(),
1340
 
        though.
 
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.
1341
1341
        """
1342
1342
        # TODO: does this help performance?
1343
1343
        # if not revisions: