if (pegRevision == null) {
pegRevision = SVNRevision.UNDEFINED;
}
if (!rN.isValid() || !rM.isValid()) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION,
"Not all required revisions are specified");
SVNErrorManager.error(err, SVNLogType.DEFAULT);
}
boolean isPath1Local = rN == SVNRevision.WORKING || rN == SVNRevision.BASE;
boolean isPath2Local = rM == SVNRevision.WORKING || rM == SVNRevision.BASE;
if (isPath1Local || isPath2Local) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNSUPPORTED_FEATURE,
"Summarizing diff can only compare repository to repository");
SVNErrorManager.error(err, SVNLogType.DEFAULT);
}
doDiffURLURL(null, path, rN, null, path, rM, pegRevision, depth, useAncestry, handler);
}