536
537
repo = dir.create_repository()
537
538
repo.fetch(tree.branch.repository)
538
539
self.assertTrue(repo.has_revision('1'))
539
544
target = self.sproutOrSkip(dir, self.get_url('target'))
540
545
self.assertNotEqual(dir.transport.base, target.transport.base)
541
547
self.assertDirectoriesEqual(dir.root_transport, target.root_transport,
542
548
['./.bzr/repository/inventory.knit',
545
563
def test_sprout_bzrdir_with_repository_to_shared(self):
546
564
tree = self.make_branch_and_tree('commit_tree')