client.Authentication.DefaultCredentials = new NetworkCredential("login",
"pswd",
new Uri("address").AbsoluteUri);
client.Authentication.SslServerTrustHandlers += delegate(object sender, SvnSslServerTrustEventArgs e)
{
e.AcceptedFailures = e.Failures;
e.Save = true; // Save acceptance to authentication store
};
読み取り専用リポジトリに接続しようとすると、例外が発生します。
'Unable to connect to a repository at URL'|'Access Forbidden'
もちろん、URL と login\password は正しいです。
VisualSVN と TotroiseSVN から接続してみましたが問題ありません。
しかし、SharpSVN はそのようなことで頭を悩ませます。