if (!SVNRevision.isValidRevisionNumber(baseRevision)) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_NO_SUCH_REVISION, "Transaction ''{0}'' is not based on a revision; how odd", transactionName);
SVNErrorManager.error(err, SVNLogType.FSFS);
}
SVNNodeEditor editor = generateDeltaTree(fsfs, root, baseRevision);
ISVNGNUDiffGenerator generator = getDiffGenerator();
generator.setDiffAdded(diffAdded);
generator.setDiffCopied(diffCopyFrom);
generator.setDiffDeleted(diffDeleted);
editor.diff(root, baseRevision, generator, os);
} finally {
SVNAdminHelper.closeRepository(fsfs);
}
}