256
256
def test_incompatible_repo(self):
258
258
control.workingtree_format = workingtree.WorkingTreeFormat4()
259
259
tree = self.make_branch_and_tree('.', format=control)
260
260
self.assertRaises(errors.RootNotRich, tree.commit)
262
262
def test_compatible_repo(self):
264
264
tree.set_root_id('my-root-id')
265
265
tree.commit('test', rev_id='revision-1')
266
266
tree.commit('test', rev_id='revision-2')