我想将我计算机中工作副本的更改提交到存储库。存储库位于 URL 中,我现在正在这样做:
using (SvnClient client = new SvnClient())
{
SvnCommitArgs ca = new SvnCommitArgs();
ca.ChangeLists.Add(workingcopydir + filename);
ca.LogMessage = "Change";
client.Add(workingcopydir + filename);
try
{
client.Commit(workingcopydir, ca);
//, ca, out resultado
}
catch (Exception exc)
{
MessageBox.Show(this, exc.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
但它不起作用,当它完成时,文件被添加但未提交。为什么?谢谢!!!:)