~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.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:
384
384
        self.assertRaises(RevisionNotPresent,
385
385
            f.get_ancestry, ['rM', 'rX'])
386
386
 
 
387
        self.assertEqual(set(f.get_ancestry('rM')),
 
388
            set(f.get_ancestry('rM', topo_sorted=False)))
 
389
 
387
390
    def test_mutate_after_finish(self):
388
391
        f = self.get_file()
389
392
        f.transaction_finished()