ds.writeByte(parentMap.get(parent2Revision).toByteArray());
} else {
ds.writeByte(Nodeid.NULL.toByteArray());
}
ds.writeByte(clogMap.get(linkRevision).toByteArray());
pds.serialize(ds);
} catch (IOException ex) {
// XXX odd to have object with IOException to use where no checked exception is allowed
throw new HgInvalidControlFileException(ex.getMessage(), ex, null);
} catch (HgIOException ex) {
throw new HgInvalidControlFileException(ex, true); // XXX any way to refactor ChunkGenerator not to get checked exception here?