47
47
def test_tree_with_pending_merge_to_branch(self):
48
48
tree = self.make_branch_and_tree('tree')
49
50
other_tree = tree.bzrdir.sprout('other').open_workingtree()
53
52
tree.merge_from_branch(other_tree.branch)
54
53
reconfiguration = reconfigure.Reconfigure.to_branch(tree.bzrdir)
55
54
self.assertRaises(errors.UncommittedChanges, reconfiguration.apply)