301
303
# At this point, we have a format6 branch without checkout files.
302
304
upgrade.upgrade('.', bzrdir.BzrDirMetaFormat1())
303
305
# The upgrade should not have set up a working tree.
305
307
self.assertFalse(control.has_workingtree())
306
308
# We have covered the scope of this test, we may as well check that
307
309
# upgrade has not eaten our data, even if it's a bit redundant with
309
311
self.assertIsInstance(control._format, bzrdir.BzrDirMetaFormat1)
310
312
b = control.open_branch()
312
315
['mbp@sourcefrog.net-20051004035611-176b16534b086b3c',
313
316
'mbp@sourcefrog.net-20051004035756-235f2b7dcdddd8dd'])