if(!createdRevProps.isEmpty()){ createdDate = SVNTimeUtil.parseDateString((String)createdRevProps.get(SVNRevisionProperty.DATE)); } return new SVNDirEntry(url, path, curRevNode.getType(), size, hasProps, createdRev, createdDate, lastAuthor, commitMessage);
FSRevisionNode revNode = myRevNodesPool.getRevisionNode(root, path, myReposRootDir); String fullPath = getFullPath(path); String parentFullPath = "/".equals(path) ? fullPath : SVNPathUtil.removeTail(fullPath); SVNURL url = getLocation().setPath(parentFullPath, false); String name = SVNPathUtil.tail(path); FSEntry fsEntry = new FSEntry(revNode.getId(), revNode.getType(), name); SVNDirEntry entry = buildDirEntry(fsEntry, url, revNode, false); return entry;
    public SVNDirEntry info(String path, long revision) throws SVNException {        try{            openRepository();            String fullPath = getFullPath(path);            SVNURL url = getLocation().setPath(fullPath, false);            path = getRepositoryPath(path);            path = SVNPathUtil.canonicalizeAbsPath(path);            long youngestRev = FSReader.getYoungestRevision(myReposRootDir);            if(FSRepository.isInvalidRevision(revision) || revision > youngestRev){                revision = youngestRev;            }            FSRevisionNode root = myRevNodesPool.getRootRevisionNode(revision, myReposRootDir);            FSRevisionNode curRevNode = myRevNodesPool.getRevisionNode(root, path, myReposRootDir);            long createdRev = FSReader.getCreatedRevision(myReposRootDir, myRevNodesPool, path, revision);            Map createdRevProps = FSRepositoryUtil.getRevisionProperties(myReposRootDir, createdRev);            Map currentRevProps = FSRepositoryUtil.getRevisionProperties(myReposRootDir, revision);            boolean hasProps = false;            String lastAuthor = null;            String commitMessage = null;            Date createdDate = null;                        long size = curRevNode.getTextRepresentation().getExpandedSize();            if(!currentRevProps.isEmpty()){                hasProps = true;                lastAuthor = (String)currentRevProps.get(SVNRevisionProperty.AUTHOR);                commitMessage = (String)currentRevProps.get(SVNRevisionProperty.LOG);            }            if(!createdRevProps.isEmpty()){                createdDate = SVNTimeUtil.parseDateString((String)createdRevProps.get(SVNRevisionProperty.DATE));            }            return new SVNDirEntry(url, path, curRevNode.getType(), size, hasProps, createdRev, createdDate, lastAuthor, commitMessage);        }finally{            closeRepository();        }    }