}
Patch p = GeneratePatchInspector.delta(prevContent, nextContent);
prevContent = nextContent;
nextContent = null;
PatchDataSource pds = p.new PatchDataSource();
int len = pds.serializeLength() + 84;
ds.writeInt(len);
ds.write(nodeid, 0, Nodeid.SIZE);
if (parent1Revision != NO_REVISION) {
ds.writeByte(parentMap.get(parent1Revision).toByteArray());
} else {