throw new HgInvalidStateException(m);
}
}
//
Patch patch = HgInternals.patchFromData(ge);
byte[] content = patch.apply(prevRevContent, -1);
Nodeid p1 = ge.firstParent();
Nodeid p2 = ge.secondParent();
byte[] calculated = dh.sha1(p1, p2, content).asBinary();
final Nodeid node = ge.node();
if (!node.equalsTo(calculated)) {