306
306
tree1 = self.make_branch_and_tree('tree1')
308
309
tree2 = self.make_branch_and_tree('tree2')
309
310
rev2 = tree2.commit('add root')
310
312
tree1.merge_from_branch(tree2.branch,
311
313
from_revision=revision.NULL_REVISION)
313
316
# This is essentially assertNotRaises(InconsistentDelta)
315
318
# with ExpectedException(AssertionError,
316
319
# 'InconsistentDelta not raised'):
317
320
# with ExpectedException(errors.InconsistentDelta, ''):