SVNNodeKind kind = FSReader.checkNodeKind(path, rootNode.getRootRevisionNode(), reposRootDir);
SVNNodeKind kind = FSReader.checkNodeKind(path, root.getRootRevisionNode(), reposRootDir);
    public static FSNodeHistory getNodeHistory(File reposRootDir, FSRevisionNode root, String path) throws SVNException{        FSRoot rootNode = FSRoot.createRevisionRoot(root.getId().getRevision(), root);        if(rootNode.isTxnRoot()){            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.FS_NOT_REVISION_ROOT);            SVNErrorManager.error(err);        }                /*And we require that the path exist in the root*/    	SVNNodeKind kind = FSReader.checkNodeKind(path, rootNode.getRootRevisionNode(), reposRootDir);    	    	if(kind == SVNNodeKind.NONE){    		SVNErrorManager.error(FSErrors.errorNotFound(rootNode, path));    	}    	    	return new FSNodeHistory(new SVNLocationEntry(rootNode.getRootRevisionNode().getId().getRevision(), path),     			false, new SVNLocationEntry(FSConstants.SVN_INVALID_REVNUM, null));    }