title: Commit all files in a folder to SVN repository using sharpsvn
body: <p>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 <strong>SVN</strong> repository , but i keep getting </p>
  
  <blockquote>
    <p>Folder is not a working copy error. </p>
  </blockquote>
  
  <p>Below code is called on click event:</p>
  
  <pre><code>private void Save_Config_Click(object sender, EventArgs e)
  {
  
      #if DEBUG
      path = @"../../../Application";
      #endif
  
      using (SvnClient client = new SvnClient())
      {
          SvnCommitArgs args = new SvnCommitArgs();
  
          args.LogMessage = "test";
          args.ThrowOnError = true;
          args.ThrowOnCancel = true;
  
          try
          {
              client.Commit(path, args);
  
          }
          catch (Exception s)
          {
              if (s.InnerException != null)
          {
          throw new Exception(s.InnerException.Message, s);
       }
  
       throw s;
  }
  </code></pre>