new UpdateOperation(null, new IResource[] {resource},edition.getLastChangedRevision()).run(monitor);
new UpdateOperation(null, resource, edition.getLastChangedRevision()).run(monitor);
			public void run() {				try {				    new ProgressMonitorDialog(shell).run(false, true, new WorkspaceModifyOperation(null) {						protected void execute(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {						    IStructuredSelection selection = (IStructuredSelection)viewer.getSelection();							if (selection.size() != 1) return;							VersionCompareDiffNode node = (VersionCompareDiffNode)selection.getFirstElement();							ResourceEditionNode right = (ResourceEditionNode)node.getRight();							final ISVNRemoteFile edition = (ISVNRemoteFile)right.getRemoteResource();							new UpdateOperation(null, new IResource[] {resource},edition.getLastChangedRevision()).run(monitor);							    							// recompute the labels on the viewer							getHistoryTableProvider().setRemoteResource(edition);							viewer.refresh();						}				    });				} catch (InterruptedException e) {					// Do nothing					return;				} catch (InvocationTargetException e) {					handle(e);				}			}