DebugLog.log("eolStyle: " + eolStyle); DebugLog.log("myEOLStyle: " + myEOLStyle);
    public void closeFile(String textChecksum) throws SVNException {        if (textChecksum == null) {            textChecksum = (String) myFileProperties.get(SVNProperty.CHECKSUM);        }        if (myIsForce) {            myCurrentFile.delete();        }        try {            if (textChecksum != null && !textChecksum.equals(SVNFileUtil.computeChecksum(myCurrentTmpFile))) {                SVNErrorManager.error(0, null);            }        } catch (IOException e) {            SVNErrorManager.error(0, null);        }        // retranslate.        try {            String date = (String) myFileProperties.get(SVNProperty.COMMITTED_DATE);            String keywords = (String) myFileProperties.get(SVNProperty.KEYWORDS);            Map keywordsMap = null;            if (keywords != null) {                String url = PathUtil.append(myURL, PathUtil.encode(myCurrentPath));                url = PathUtil.append(url, PathUtil.encode(myCurrentFile.getName()));                String author = (String) myFileProperties.get(SVNProperty.LAST_AUTHOR);                String revStr = (String) myFileProperties.get(SVNProperty.COMMITTED_REVISION);                keywordsMap = SVNTranslator.computeKeywords(keywords, url, author, date, revStr);            }            String eolStyle = myEOLStyle != null ? myEOLStyle : (String) myFileProperties.get(SVNProperty.EOL_STYLE);            byte[] eolBytes = eolStyle == null ? null : SVNTranslator.getEOL(eolStyle);            boolean special = myFileProperties.get(SVNProperty.SPECIAL) != null;            boolean executable = myFileProperties.get(SVNProperty.EXECUTABLE) != null;            DebugLog.log("eolStyle: " + eolStyle);            DebugLog.log("myEOLStyle: " + myEOLStyle);            SVNTranslator.translate(myCurrentTmpFile, myCurrentFile, eolBytes, keywordsMap, special, true);            if (executable) {                SVNFileUtil.setExecutable(myCurrentFile, true);            }            if (!special && date != null) {                myCurrentFile.setLastModified(TimeUtil.parseDate(date).getTime());            }            myEventDispatcher.svnEvent(SVNEventFactory.createExportAddedEvent(myRoot, myCurrentFile), ISVNEventListener.UNKNOWN);        } finally {            myCurrentTmpFile.delete();        }            }