info.baselineBase = PathUtil.encode(info.baselineBase);
    public static DAVBaselineInfo getBaselineInfo(DAVConnection connection, String path, long revision,            boolean includeType, boolean includeRevision, DAVBaselineInfo info) throws SVNException {        DAVElement[] properties = includeRevision ? DAVElement.BASELINE_PROPERTIES : new DAVElement[] {DAVElement.BASELINE_COLLECTION};        DAVResponse baselineProperties = getBaselineProperties(connection, path, revision, properties);        info = info == null ? new DAVBaselineInfo() : info;                info.baselinePath = baselineProperties.getHref();        info.baselineBase = (String) baselineProperties.getPropertyValue(DAVElement.BASELINE_COLLECTION);        if (includeRevision) {            info.revision = Long.parseLong((String) baselineProperties.getPropertyValue(DAVElement.VERSION_NAME));        }         if (includeType) {                        info.isDirectory = getPropertyValue(connection, PathUtil.append(info.baselineBase, info.baselinePath),                     null, DAVElement.RESOURCE_TYPE) != null;        }        return info;    }