SVNEntry entry = adminArea.getEntry(name, true);
SVNEntry2 entry = adminArea.getEntry(name, true);
    public static void translate(SVNAdminArea adminArea, String name, String srcPath,            String dstPath, boolean expand, boolean safe) throws SVNException {        File src = adminArea.getFile(srcPath);        File dst = safe ? SVNFileUtil.createUniqueFile(adminArea.getRoot(), dstPath, ".tmp") : adminArea.getFile(dstPath);                ISVNProperties props = adminArea.getProperties(name);        String keywords = props.getPropertyValue(SVNProperty.KEYWORDS);        String eolStyle = props.getPropertyValue(SVNProperty.EOL_STYLE);        boolean special = props.getPropertyValue(SVNProperty.SPECIAL) != null;        Map keywordsMap = null;        byte[] eols;        if (keywords != null) {            if (expand) {                SVNEntry entry = adminArea.getEntry(name, true);                String url = entry.getURL();                String author = entry.getAuthor();                String date = entry.getCommittedDate();                String rev = Long.toString(entry.getCommittedRevision());                keywordsMap = computeKeywords(keywords, url, author, date, rev);            } else {                keywordsMap = computeKeywords(keywords, null, null, null, null);            }        }        if (!expand) {            eols = getBaseEOL(eolStyle);        } else {            eols = getWorkingEOL(eolStyle);        }        translate(src, dst, eols, keywordsMap, special, expand);        if (safe) {            try {                SVNFileUtil.rename(dst, adminArea.getFile(dstPath));            } finally {                dst.delete();            }        }    }