}
}
//
byte[] csetContent = ge.patch().apply(prevRevContent, -1);
dh = dh.sha1(ge.firstParent(), ge.secondParent(), csetContent); // XXX ge may give me access to byte[] content of nodeid directly, perhaps, I don't need DH to be friend of Nodeid?
if (!ge.node().equalsTo(dh.asBinary())) {
throw new HgInvalidStateException(String.format("Integrity check failed on %s, node: %s", bundleFile, ge.node().shortNotation()));
}
RawChangeset cs = csetBuilder.parse(csetContent);
inspector.next(revisionIndex++, ge.node(), cs);
prevRevContent.done();