@Override
public void revert(IResource resource, SubMonitor monitor) {
if (!isManaged(resource))
return;
ISVNLocalResource svnResource = SVNWorkspaceRoot
.getSVNResourceFor(resource);
try {
svnResource.revert();
} catch (SVNException e) {
log.error("Couldn't revert " + resource.toString(), e);
}
try {
resource.refreshLocal(IResource.DEPTH_INFINITE, null);