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