~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Aaron Bentley
  • Date: 2007-06-21 03:29:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2542.
  • Revision ID: aaron.bentley@utoronto.ca-20070621032939-kcnl1dmxsixygskb
Disable topological sorting of get_ancestry where sensible

Show diffs side-by-side

added added

removed removed

Lines of Context:
834
834
        if not self.has_revision(revision_id):
835
835
            raise errors.NoSuchRevision(self, revision_id)
836
836
        w = self.get_inventory_weave()
837
 
        candidates = w.get_ancestry(revision_id)
 
837
        candidates = w.get_ancestry(revision_id, topo_sorted)
838
838
        return [None] + candidates # self._eliminate_revisions_not_present(candidates)
839
839
 
840
840
    @needs_read_lock