title: Clean an svn checkout (remove non-svn files)
body: <p>Id like to remove all files in my working copy that are not known in the svn repository.</p>
  
  <p>Effectively as if I'd just made a clean checkout, but Id rather not have to re-download all files.</p>
  
  <p>The closest think I've come to this is...</p>
  
  <pre><code>rm -rf `svn st | grep "^?" | cut -d" " -f8`
  </code></pre>
  
  <p>But this seems clunky and I don't totally trust it since inconsistency in output could remove dirs outside svn.</p>
  
  <p>"svn export" isn't what Im looking for because I'm not cleaning the source to package it, I just want to remove cruft mostly (*.pyc, *.orig, *.rej, svn-commit.tmp, *.swp).</p>
  
  <p>Is there a better way to do this besides making a clean checkout?</p>