svnClient.update(resources[0].getLocation().toFile(),revision,true);
svnClient.update(resources[0].getLocation().toFile(),revision, recursive);
	public void run(final IProgressMonitor monitor) throws SVNException {        try {            monitor.beginTask(null, 100 * resources.length);                                ISVNClientAdapter svnClient = root.getRepository().getSVNClient();            OperationManager.getInstance().beginOperation(svnClient, new OperationProgressNotifyListener(monitor));    		if (resources.length == 1)    		{                monitor.subTask(resources[0].getName());                svnClient.update(resources[0].getLocation().toFile(),revision,true);                monitor.worked(100);    			    		}    		else    		{    			File[] files = new File[resources.length];    			for (int i = 0; i < resources.length; i++) {					files[i] = resources[i].getLocation().toFile();				}   				svnClient.update(files, revision, false, true);   				monitor.worked(100);    		}        } catch (SVNClientException e) {            throw SVNException.wrapException(e);        } finally {            OperationManager.getInstance().endOperation();            monitor.done();        }        	}