LOGGER.throwing(SVNRepositoryFactory.class.getName(), "create", e);
LOGGER.severe("Error while creating SVNRepository : "+e.getMessage());
return null;
}
try {
repository.setAuthenticationManager(new DefaultSVNAuthenticationManager(SVNWCUtil.getDefaultConfigurationDirectory(), true, "", "", null, "") {
@Override
public SVNAuthentication getFirstAuthentication(String kind, String realm, SVNURL url) throws SVNException {
realms[0] = realm;
return super.getFirstAuthentication(kind, realm, url);
}