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