baselineRelativePath += loppedPath;
baselineRelativePath = PathUtil.append(baselineRelativePath, loppedPath);
    public static DAVResponse getBaselineProperties(DAVConnection connection, String path, long revision, DAVElement[] elements) throws SVNException {        DAVResponse properties = null;        String loppedPath = "";        while(true) {	        try {	            properties = getResourceProperties(connection, path, null, DAVElement.STARTING_PROPERTIES);	            break;	        } catch (SVNException e) {	        }	        loppedPath = PathUtil.append(PathUtil.tail(path), loppedPath);	        path = PathUtil.removeTail(path);	        if (PathUtil.isEmpty(path)) {	            break;	        }        }        if (properties == null) {            throw new SVNException("resource " + path + " is not part of repository");        }        String vcc = (String) properties.getPropertyValue(DAVElement.VERSION_CONTROLLED_CONFIGURATION);        String baselineRelativePath = (String) properties.getPropertyValue(DAVElement.BASELINE_RELATIVE_PATH);        if (vcc == null) {            throw new SVNException("important properties are missing for " + path);        }         if (baselineRelativePath == null) {            baselineRelativePath = "";        }        baselineRelativePath += loppedPath;        baselineRelativePath = PathUtil.removeLeadingSlash(baselineRelativePath);        baselineRelativePath = PathUtil.removeTrailingSlash(baselineRelativePath);        baselineRelativePath = PathUtil.encode(baselineRelativePath);                String label = null;        if (revision < 0) {            // get vcc's "checked-in"            vcc = (String) getPropertyValue(connection, vcc, null, DAVElement.CHECKED_IN);        } else {            label = Long.toString(revision);        }        DAVResponse result = getResourceProperties(connection, vcc, label, elements);        result.setHref(baselineRelativePath);        return result;    }