svnURL = new SVNUrl(url);
} catch (MalformedURLException e) {
log.debug("URL malformed", e);
return;
}
SwitchToUrlCommand cmd = new SwitchToUrlCommand(root, resource, svnURL,
revision);
try {
cmd.run(monitor);
monitor.worked(1);
} catch (SVNException e) {
log.error("SVN Switch failed.", e);
} finally {
monitor.done();