ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); svnResource.revert(); resources[i].refreshLocal(IResource.DEPTH_INFINITE, monitor);
ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); svnResource.revert();   if (resources[i].getType() == IResource.FILE) { resources[i].getParent().refreshLocal(IResource.DEPTH_ONE, monitor); } else { resources[i].refreshLocal(IResource.DEPTH_INFINITE, monitor); }
	protected void execute(final IAction action) throws InvocationTargetException, InterruptedException {		run(new WorkspaceModifyOperation() {			public void execute(IProgressMonitor monitor) throws InvocationTargetException {				IResource[] resources = getSelectedResources();								try {					for (int i = 0; i < resources.length; i++) {						                        ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]);                        svnResource.revert();                        resources[i].refreshLocal(IResource.DEPTH_INFINITE, monitor);					}					// fix the action enablement					if (action != null) action.setEnabled(isEnabled());				} catch (TeamException e) {					throw new InvocationTargetException(e);				} catch (CoreException e) {					throw new InvocationTargetException(e);				}			}		}, false /* cancelable */, PROGRESS_BUSYCURSOR);	}