editor = new SVNStatusEditor(getOptions(), wcAccess, info, includeIgnored, reportAll, recursive, realHandler);
editor.setExternals(externals);
checkCancelled();
editor.closeEdit();
} else {
editor = new SVNRemoteStatusEditor(getOptions(), wcAccess, info, includeIgnored, reportAll, recursive, realHandler);
editor.setExternals(externals);
// session is closed in SVNStatusReporter.
SVNRepository locksRepos = createRepository(url, false);
checkCancelled();
SVNReporter reporter = new SVNReporter(info, path, false, recursive, getDebugLog());