~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.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:
2439
2439
                    raise errors.NoSuchRevision(
2440
2440
                        self.source, ghosts_to_check.pop())
2441
2441
                missing_revs.update(next_revs - have_revs)
2442
 
                searcher.stop_searching_any(have_revs)
 
2442
                # Because we may have walked past the original stop point, make
 
2443
                # sure everything is stopped
 
2444
                stop_revs = searcher.find_seen_ancestors(have_revs)
 
2445
                searcher.stop_searching_any(stop_revs)
2443
2446
            if searcher_exhausted:
2444
2447
                break
2445
2448
        return searcher.get_result()
2446
 
   
 
2449
 
2447
2450
    @deprecated_method(one_two)
2448
2451
    @needs_read_lock
2449
2452
    def missing_revision_ids(self, revision_id=None, find_ghosts=True):