entry.asFile().generateDelta(editor); editor.closeFile(null);
String digest = entry.asFile().generateDelta(rootPath + entry.getPath(), editor); editor.closeFile(rootPath + entry.getPath(), digest);
    private void doImport(String rootPath, ISVNEditor editor,            ISVNDirectoryEntry parent, ISVNEntry entry) throws SVNException {        if (rootPath.trim().length() > 0) {            rootPath += "/";        }        if (entry.isDirectory()) {            DebugLog.log("IMPORT: ADDING DIR: " + rootPath + entry.getPath());            editor.addDir(rootPath + entry.getPath(), null, -1);            applyAutoProperties(entry, editor);            for (Iterator children = entry.asDirectory().unmanagedChildEntries(                    false); children.hasNext();) {                ISVNEntry child = (ISVNEntry) children.next();                doImport(rootPath, editor, parent, child);            }            editor.closeDir();        } else {            DebugLog.log("IMPORT: ADDING FILE: " + rootPath + entry.getPath());            editor.addFile(rootPath + entry.getPath(), null, -1);            applyAutoProperties(entry, editor);            entry.setPropertyValue(SVNProperty.SCHEDULE,                    SVNProperty.SCHEDULE_ADD);            entry.asFile().generateDelta(editor);            editor.closeFile(null);        }        fireEntryCommitted(entry, SVNStatus.ADDED);    }