I hava c# winforms application and in the form I have a button. On click of the button I want to commit all files in a particular folder to the SVN repository , but i keep getting
Folder is not a working copy error.
Below code is called on click event:
private void Save_Config_Click(object sender, EventArgs e)
path = @"../../../Application";
using (SvnClient client = new SvnClient())
SvnCommitArgs args = new SvnCommitArgs();
args.LogMessage = "test";
args.ThrowOnError = true;
args.ThrowOnCancel = true;
catch (Exception s)
if (s.InnerException != null)
throw new Exception(s.InnerException.Message, s);
To Commit from a folder, that folder must be a working copy.
checkout before you make the