FSNodeHistory history = getNodeHistory(reposRootDir, root, fsPath);
FSNodeHistory history = getNodeHistory(reposRootDir, root, fsPath, revNodesPool);
    public static boolean checkAncestryOfPegPath(File reposRootDir, String fsPath, long pegRev, long futureRev, FSRevisionNodePool revNodesPool) throws SVNException {   		//FSRevisionNode root = FSReader.getRootRevNode(reposRootDir, futureRev);        FSRoot root = FSRoot.createRevisionRoot(futureRev, revNodesPool.getRootRevisionNode(futureRev, reposRootDir));         FSNodeHistory history = getNodeHistory(reposRootDir, root, fsPath);        fsPath = null;   		SVNLocationEntry currentHistory = null;   		while(true){     			history = history.fsHistoryPrev(reposRootDir, true, revNodesPool);    			   			if(history == null){     				break;    			   			}   			currentHistory = new SVNLocationEntry(history.getHistoryEntry().getRevision(), history.getHistoryEntry().getPath()); 		   			if(fsPath == null){   				fsPath = currentHistory.getPath();   			}   			if(currentHistory.getRevision() <= pegRev){   				break;    				   			}   		}        /* We must have had at least one iteration above where we         * reassigned fsPath. Else, the path wouldn't have existed at         * futureRev.          */   		if(fsPath == null){            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNKNOWN, "FATAL error occurred while checking ancestry of peg path");            SVNErrorManager.error(err);        }        return (history != null && (fsPath.equals(currentHistory.getPath())));    }