try {
monitor = monitor == null ? new NullProgressMonitor() : monitor;
monitor.beginTask("Disconnecting " + project.getName()
+ " from SVN", 1);
if (deleteContent) {
folder.unmanage(monitor);
project.refreshLocal(IResource.DEPTH_INFINITE, monitor);
}
monitor.worked(1);
} catch (SVNException e) {
undocumentedException(e);