}
protected void copyRevisions(Document sourceDoc, Document targetDoc) throws PublicationException {
try {
Node targetNode = targetDoc.getRepositoryNode();
targetNode.copyRevisionsFrom(sourceDoc.getRepositoryNode());
} catch (Exception e) {
throw new PublicationException(e);
}
}