myConnection.doReport(bcPath, request, handler);
HTTPStatus status = myConnection.doReport(bcPath, request, handler); if (status.getCode() == 501) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_NOT_IMPLEMENTED, "'replay' REPORT not implemented"); SVNErrorManager.error(err, status.getError()); } else if (status.getError() != null) { SVNErrorManager.error(status.getError()); }
    public void replay(long lowRevision, long highRevision, boolean sendDeltas, ISVNEditor editor) throws SVNException {        try {            openConnection();            StringBuffer request = DAVReplayHandler.generateReplayRequest(highRevision, lowRevision, sendDeltas);            DAVReplayHandler handler = new DAVReplayHandler(editor, true);            String bcPath = SVNEncodingUtil.uriEncode(getLocation().getPath());            try {                bcPath = DAVUtil.getVCCPath(myConnection, this, bcPath);            } catch (SVNException e) {                throw e;            }            myConnection.doReport(bcPath, request, handler);        } finally {            closeConnection();        }    }