} else if (childFile.isDirectory()) {
} else if (SVNFileType.DIRECTORY == fileType) {
    private void addDirectory(SVNWCAccess wcAccess, SVNDirectory dir, String name, boolean force) throws SVNException {		DebugLog.log("ading file " + name + " into " + dir.getRoot());		dir.add(name, force);					SVNDirectory childDir = dir.getChildDirectory(name);    	File file = dir.getFile(name, false);    	File[] children = file.listFiles();    	for (int i = 0; children != null && i < children.length; i++) {    		File childFile = children[i];    		if (getOptions().isIgnored(childFile.getName())) {    			continue;    		}    		if (".svn".equals(childFile.getName())) {    			continue;    		}    		DebugLog.log("processing file " + childFile + " in " + file);    		if (childFile.isFile() || SVNFileUtil.isSymlink(childFile)) {    			SVNEntry entry = childDir.getEntries().getEntry(childFile.getName());    			DebugLog.log("existing entry: " + entry);    			if (force && entry != null && !entry.isScheduledForDeletion() && !entry.isDeleted()) {        			DebugLog.log("this entry will not be added: " + entry.getName());    				continue;    			}    			addSingleFile(wcAccess, childDir, childFile.getName());    		} else if (childFile.isDirectory()) {    			DebugLog.log("recursing into " + childFile.getName());    			addDirectory(wcAccess, childDir, childFile.getName(), force);    		}		}    }