public FSRevisionNode getRevisionNode(FSRevisionNode root, String path, File reposRootDir) throws SVNException{ if(reposRootDir == null || path == null || "".equals(path) || root == null){
public FSRevisionNode getRevisionNode(long revision, String path, File reposRootDir) throws SVNException{ if(reposRootDir == null || path == null || "".equals(path) || FSRepository.isInvalidRevision(revision)){
    public FSRevisionNode getRevisionNode(FSRevisionNode root, String path, File reposRootDir) throws SVNException{        if(reposRootDir == null || path == null || "".equals(path) || root == null){            return null;        }        return getRevisionNode(root.getId().getRevision(), path, reposRootDir);    }