ISVNAuthenticationManager authManager =
SVNWCUtil.createDefaultAuthenticationManager(args[1].getStringValue(), args[2].getStringValue());
repo.setAuthenticationManager(authManager);
long latestRevision = repo.getLatestRevision();
return new IntegerValue(latestRevision);
} catch (SVNException e) {
throw new XPathException(this, e.getMessage(), e);
}
}