title: how to fix svn: 'path/to/dir' is not a working copy directory
body: <p>I'm trying to do a commit, and I'm getting the error above. I see a few questions on here along the same lines, but the solution always seems to be "delete and re-checkout". I'm trying to add some files for the first time, so I can't delete. I also tried just removing the files, but then I get this error instead:</p>
  
  <pre><code>svn: Directory '/path/to/dir' is missing
  </code></pre>
  
  <p>I think the problem originally stemmed from a permissions error -- I didn't have permission to write the .svn files when I did my initial add command. How can I fix this? The only thing I've thought of would be to clear out all .svn folders from the project, and re-import into a fresh repository. Bleh!</p>