FSRevisionNode newRoot = revNodesPool.getRootRevisionNode(revNum, reposRootDir); changedPaths = detectChanged(reposRootDir, revNodesPool, FSRoot.createRevisionRoot(revNum, newRoot));
FSRoot root = FSRoot.createRevisionRoot(revNum, null); changedPaths = detectChanged(reposRootDir, revNodesPool, root);
     public static void sendChangeRev(File reposRootDir, FSRevisionNodePool revNodesPool, long revNum, boolean discoverChangedPaths, ISVNLogEntryHandler handler) throws SVNException {              Map revisionProps = FSRepositoryUtil.getRevisionProperties(reposRootDir, revNum);        Map changedPaths = null;        String author = null;             Date date = null;        String message = null;        if(revisionProps != null){            author = (String)revisionProps.get(SVNRevisionProperty.AUTHOR);                 String datestamp = (String)revisionProps.get(SVNRevisionProperty.DATE);            message = (String)revisionProps.get(SVNRevisionProperty.LOG);            date = datestamp != null ? SVNTimeUtil.parseDateString(datestamp) : null;        }        /* Discover changed paths if the user requested them         * or if we need to check that they are readable         */        if(revNum > 0 && discoverChangedPaths){            FSRevisionNode newRoot = revNodesPool.getRootRevisionNode(revNum, reposRootDir);//getRootRevNode(reposRootDir, revNum);            changedPaths = detectChanged(reposRootDir, revNodesPool, FSRoot.createRevisionRoot(revNum, newRoot));        }        changedPaths = changedPaths == null ? new HashMap() : changedPaths;        handler.handleLogEntry(new SVNLogEntry(changedPaths, revNum, author, date, message));     }