~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.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:
524
524
        return self._real_repository.control_weaves
525
525
 
526
526
    @needs_read_lock
527
 
    def get_ancestry(self, revision_id):
 
527
    def get_ancestry(self, revision_id, topo_sorted=True):
528
528
        self._ensure_real()
529
 
        return self._real_repository.get_ancestry(revision_id)
 
529
        return self._real_repository.get_ancestry(revision_id, topo_sorted)
530
530
 
531
531
    @needs_read_lock
532
532
    def get_inventory_weave(self):