/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/repository.py

  • Committer: Aaron Bentley
  • Date: 2007-06-17 17:07:04 UTC
  • mto: (2490.2.32 graphwalker)
  • mto: This revision was merged to the branch mainline in revision 2542.
  • Revision ID: aaron.bentley@utoronto.ca-20070617170704-z3xbz0t5nqddnyeo
Make topological sorting optional for get_ancestry

Show diffs side-by-side

added added

removed removed

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