949
949
self.assertRaises(errors.NoSuchRevision,
950
950
self.bzrdir.open_repository().get_ancestry, 'orphan')
953
953
repo = self.bzrdir.open_repository()
954
954
self.assertEqual(set(repo.get_ancestry('rev3')),
955
955
set(repo.get_ancestry('rev3', topo_sorted=False)))