Hi
I want to save some data for my Macro Devkit Plugin. For example - custom comment system, like in lucidchart. I have created new folder in project dir. My own plugin open it and then create file with comment in text file.
I use sharpsvn 1.7 to connect
client.LoadConfiguration(Session.GetProjectFolderPath(), true);
client.Configuration.SetOption("servers", "global", "http-auth-types", "basic;digest");
client.Authentication.Clear();
client.Authentication.DefaultCredentials = new NetworkCredential("user", "password");
string folder = Session.GetProjectFolderPath()+ "\\CommentarySystem";
if (!Directory.Exists(folder))
{
Directory.CreateDirectory(folder );
client.Add(folder );
SvnCommitArgs ca = new SvnCommitArgs();
ca.LogMessage = "Init comment folder";
client.Commit(folder, ca);
}
but th result is
SharpSvn.SvnAuthorizationException occurred
Inner Exception 1:
SvnAuthorizationException: Unable to connect to a repository at URL 'svn://local:16708/supergame/CommentarySystem'
Inner Exception 2:
SvnAuthorizationException: Authentication error from server: Password incorrect