Feature points1ModifiedB = feature(pointsType, idP1, "StringProp1_3", new Integer(2000),
"POINT(1 1)");
insertAndAdd(points1ModifiedB);
RevCommit branch6 = geogig.command(CommitOp.class).call();
geogig.command(CheckoutOp.class).setSource("master").call();
MergeOp mergeOp = geogig.command(MergeOp.class)
.addCommit(Suppliers.ofInstance(branch1.getId()))
.addCommit(Suppliers.ofInstance(branch2.getId()))
.addCommit(Suppliers.ofInstance(branch3.getId()))
.addCommit(Suppliers.ofInstance(branch4.getId()))
.addCommit(Suppliers.ofInstance(branch5.getId()))
.addCommit(Suppliers.ofInstance(branch6.getId()));
try {
mergeOp.call();
fail();
} catch (IllegalStateException e) {
assertTrue(e.getMessage().contains(
"Cannot merge more than two commits when conflicts exist"));
}