216
216
tree = self.make_branch_and_tree('tree', format='knit')
217
217
target = bzrdir.format_registry.make_bzrdir('dirstate')
218
218
converter = tree.bzrdir._format.get_converter(target)
220
220
new_tree = workingtree.WorkingTree.open('tree')
221
221
self.assertIs(new_tree.__class__, workingtree_4.WorkingTree4)
222
222
self.assertEqual('null:', new_tree.last_revision())