302
302
tree1_root_id = tree1.get_root_id()
303
303
tree2 = self.make_branch_and_tree('tree2')
304
304
rev2 = tree2.commit('add root')
306
306
tree1.merge_from_branch(tree2.branch,
307
307
from_revision=revision.NULL_REVISION)
308
308
tree1.commit('merging in tree2')
310
310
# This is essentially assertNotRaises(InconsistentDelta)
311
311
# With testtools 0.9.9, it can be rewritten as:
312
312
# with ExpectedException(AssertionError,