San*_*ken 11
您应该看一下SharpSvn .NET库.您可能需要checkout和commit命令:
退房:
string wcPath = "c:\\my working copy";
using (SvnClient client = new SvnClient())
{
client.CheckOut(new Uri("http://server/path/to/repos"), wcPath);
}
Run Code Online (Sandbox Code Playgroud)
承诺:
string wcPath = "c:\\my working copy";
SvnCommitArgs a = new SvnCommitArgs();
a.LogMessage = "My log message";
using (SvnClient client = new SvnClient())
{
client.Commit(wcPath, a);
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4950 次 |
最近记录: |