498
498
workingtree.WorkingTreeFormat3)
500
500
def test_sprout_recursive_treeless(self):
502
503
sub_tree = self.make_branch_and_tree('tree1/subtree',
504
505
tree.add_reference(sub_tree)
505
506
self.build_tree(['tree1/subtree/file'])
507
508
tree.commit('Initial commit')
508
509
tree.bzrdir.destroy_workingtree()
509
510
repo = self.make_repository('repo', shared=True,
511
512
repo.set_make_working_trees(False)
512
513
tree.bzrdir.sprout('repo/tree2')
513
514
self.failUnlessExists('repo/tree2/subtree')