~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Robert Collins
  • Date: 2007-06-28 02:43:50 UTC
  • mfrom: (2553 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2558.
  • Revision ID: robertc@robertcollins.net-20070628024350-z8bdm0y6yz2uyf4o
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
        """
303
303
        raise NotImplementedError(self.get_lines)
304
304
 
305
 
    def get_ancestry(self, version_ids):
 
305
    def get_ancestry(self, version_ids, topo_sorted=True):
306
306
        """Return a list of all ancestors of given version(s). This
307
307
        will not include the null revision.
308
308
 
 
309
        This list will not be topologically sorted if topo_sorted=False is
 
310
        passed.
 
311
 
309
312
        Must raise RevisionNotPresent if any of the given versions are
310
313
        not present in file history."""
311
314
        if isinstance(version_ids, basestring):