DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, getLocation().getPath(), revision, false, false, null);
DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, SVNEncodingUtil.uriEncode(getLocation().getPath()), revision, false, false, null);
    public void setRevisionPropertyValue(long revision, String propertyName, String propertyValue) throws SVNException {        assertValidRevision(revision);        StringBuffer request = DAVProppatchHandler.generatePropertyRequest(null, propertyName, propertyValue);        try {            openConnection();            // 1. get vcc for root.                        DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, getLocation().getPath(), revision, false, false, null);            String path = SVNPathUtil.append(info.baselineBase, info.baselinePath);            DAVResponse response = DAVUtil.getResourceProperties(myConnection, path, null, DAVElement.STARTING_PROPERTIES, false);            path = (String) response.getPropertyValue(DAVElement.VERSION_CONTROLLED_CONFIGURATION);                        // 2. get href from specific vcc with using "label"            final String[] blPath = new String[1];            DAVElement[] props = new DAVElement[] {DAVElement.AUTO_VERSION};            myConnection.doPropfind(path, 0, Long.toString(revision), props, new IDAVResponseHandler() {                public void handleDAVResponse(DAVResponse r) {                    blPath[0] = r.getHref();                    if (r.getPropertyValue(DAVElement.AUTO_VERSION) != null) {                        // there are problems with repository                        blPath[0] = null;                    }                }               });            if (blPath[0] == null) {                throw new SVNException("repository auto-versioning is enabled, can't put unversioned property");            }            myConnection.doProppatch(null, blPath[0], request, null);        } finally {            closeConnection();        }    }