@Override
protected void preUpdate(ModuleLocation module, File local) throws SVNException, IOException {
listener.getLogger().println("Reverting " + local + " to depth " + module.getDepthOption() + " with ignoreExternals: " + module.isIgnoreExternalsOption());
final SVNWCClient svnwc = manager.getWCClient();
svnwc.setIgnoreExternals(module.isIgnoreExternalsOption());
svnwc.doRevert(new File[]{local.getCanonicalFile()}, getSvnDepth(module.getDepthOption()), null);
}
}
@Extension
public static class DescriptorImpl extends WorkspaceUpdaterDescriptor {