@Override
public void disconnect(IProject project, boolean deleteContent,
IProgressMonitor monitor) {
// cf org.tigris.subversion.subclipse.ui.actions.UnmanageAction
try {
ISVNLocalFolder folder = SVNWorkspaceRoot.getSVNFolderFor(project);
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);