81
84
repo = self.make_repository('repo')
87
90
if control_transport.base == repo.bzrdir.transport.base:
88
94
# This test only applies to repository formats where the repo
89
95
# control_files are separate from other bzrdir files, i.e. metadir
92
97
control_transport.copy_tree('.', '../repository.backup')
93
98
backup_transport = control_transport.clone('../repository.backup')
94
99
backup_repo = repo._format.open(repo.bzrdir, _found=True,
95
100
_override_transport=backup_transport)
97
101
self.assertDifferentRepo(repo, backup_repo)
99
103
def test_different_format_not_equal(self):