}
public void run() throws SVNException {
SVNAdminClient client = getEnvironment().getClientManager().getAdminClient();
client.setEventHandler(this);
client.doRecover(getLocalRepository());
getEnvironment().getOut().println();
getEnvironment().getOut().println("Recovery completed.");
long youngestRevision = client.getYoungestRevision(getLocalRepository());
String message = "The latest repos revision is {0}.";
message = MessageFormat.format(message, new Object[] { String.valueOf(youngestRevision) });