~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 02:33:43 UTC
  • mfrom: (2530.1.1 get_ancestry_no_topo)
  • mto: This revision was merged to the branch mainline in revision 2542.
  • Revision ID: aaron.bentley@utoronto.ca-20070621023343-3f3oy8iszatpjcui
Merge of not-sorting-ancestry branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
819
819
            yield RevisionTree(self, inv, revision_id)
820
820
 
821
821
    @needs_read_lock
822
 
    def get_ancestry(self, revision_id):
 
822
    def get_ancestry(self, revision_id, topo_sorted=True):
823
823
        """Return a list of revision-ids integrated by a revision.
824
824
 
825
825
        The first element of the list is always None, indicating the origin