String taskName = "Switching " + resource.getName();
monitor.beginTask(taskName, 1);
SVNRevision revision = getRevision(revisionString);
if (revision == null)
return;
SVNWorkspaceRoot root;
SVNTeamProvider provider = (SVNTeamProvider) RepositoryProvider
.getProvider(resource.getProject());
root = provider.getSVNWorkspaceRoot();
SVNUrl svnURL;
try {