190
183
format.set_branch_format(_mod_branch.BzrBranchFormat6())
191
184
branch = self.make_branch('a', format=format)
192
185
self.assertIsInstance(branch, _mod_branch.BzrBranch6)
194
187
self.assertIsInstance(branch, _mod_branch.BzrBranch6)
195
188
branch = _mod_branch.Branch.open('a')
196
189
self.assertIsInstance(branch, _mod_branch.BzrBranch6)
200
193
self.failUnlessExists('a/.bzr/branch/last-revision')
201
194
self.failIfExists('a/.bzr/branch/revision-history')
204
197
"""Ensure that all configuration data is stored in the branch"""
206
199
branch.set_parent('http://bazaar-vcs.org')
207
200
self.failIfExists('a/.bzr/branch/parent')
208
201
self.assertEqual('http://bazaar-vcs.org', branch.get_parent())