new UpdateOperation(getPart(), resources, SVNRevision.HEAD, true).run();
SVNRevision revision = null; SyncInfo[] syncInfos = set.getSyncInfos(); for (int i = 0; i < syncInfos.length; i++) { SVNStatusSyncInfo syncInfo = (SVNStatusSyncInfo)syncInfos[i]; IResourceVariant remote = syncInfo.getRemote(); if (remote != null && remote instanceof ISVNRemoteResource) { SVNRevision rev = ((ISVNRemoteResource)remote).getLastChangedRevision(); if (rev instanceof SVNRevision.Number) { long nbr = ((SVNRevision.Number)rev).getNumber(); if (revision == null) revision = rev; else { long revisionNumber = ((SVNRevision.Number)revision).getNumber(); if (nbr > revisionNumber) revision = rev; } } } } if (revision == null) revision = SVNRevision.HEAD; new UpdateOperation(getPart(), resources, revision, true).run();
	protected void run(SVNTeamProvider provider, SyncInfoSet set, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {		new UpdateOperation(getPart(), resources, SVNRevision.HEAD, true).run();	}