title: Best way to replace a whole directory tree in Subversion?
body: <p>Within my Subversion project I have a few directories that contain other open source projects that my code needs. For example ffmpeg, freetype, matrixssl and a few others. </p>
  
  <p>What is the best way to update SVN to hold the the latest version of one of these projects?</p>
  
  <p>Essentially I will be doing the following (using ffmpeg as an example):</p>
  
  <pre><code>1) Rename current ffmpeg folder to ffmpeg.old
  2) Download new version of ffmpeg from net
  3) Make sure it and my code compile and work fine together
  4) Update subversion to now hold the "new" version of ffmpeg
  5) Delete ffmpeg.old directory tree
  </code></pre>