if (isValidRevision(startRevision) && isValidRevision(endRevision)) {
revision = Math.max(startRevision, endRevision);
}
DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, this, bcPath, revision, false, false, null);
bcPath = SVNPathUtil.append(info.baselineBase, info.baselinePath);
HTTPStatus status = myConnection.doReport(bcPath, request, davHandler);
if (status.getCode() == 501) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_NOT_IMPLEMENTED, "'get-file-revs' REPORT not implemented");
SVNErrorManager.error(err, status.getError());
} else if (status.getError() != null) {
SVNErrorManager.error(status.getError());
}
if (davHandler.getEntriesCount() <= 0) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_DAV_REQUEST_FAILED, "The file-revs report didn't contain any revisions");
SVNErrorManager.error(err);
}