path = PathUtil.encode(path);
    public long getFile(String path, long revision, final Map properties, OutputStream contents) throws SVNException {        long fileRevision = revision;        try {            openConnection();            path = getFullPath(path);            if (revision != -2) {                DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, path, revision, false, true, null);                path = PathUtil.append(info.baselineBase, info.baselinePath);                fileRevision = info.revision;             }            if (properties != null) {            	myConnection.doPropfind(path, 0, null, null, new IDAVResponseHandler() {					public void handleDAVResponse(DAVResponse response) {						DAVUtil.filterProperties(response, properties);                        for(Iterator props = response.properties(); props.hasNext();) {                            DAVElement property = (DAVElement) props.next();                            if (property == DAVElement.VERSION_NAME) {                                properties.put(SVNProperty.COMMITTED_REVISION, response.getPropertyValue(property));                            } else if (property == DAVElement.MD5_CHECKSUM) {                                properties.put(SVNProperty.CHECKSUM, response.getPropertyValue(property));                            } else if (property == DAVElement.CREATOR_DISPLAY_NAME) {                                properties.put(SVNProperty.LAST_AUTHOR, response.getPropertyValue(property));                            } else if (property == DAVElement.CREATION_DATE) {                                properties.put(SVNProperty.COMMITTED_DATE, response.getPropertyValue(property));                            }                        }					}            	});                properties.put(SVNProperty.REVISION, Long.toString(fileRevision));            }            if (contents != null) {                myConnection.doGet(path, contents);            }        } finally {            closeConnection();        }        return fileRevision;    }