title: svn switch , what does --relocate do?
body: <p>When one does <code>svn switch &lt;source&gt; &lt;target&gt;</code>,  I understand that it switches the working directory to target path. </p>
  
  <p>I would like to understand what  --relocate is used for.  I thought this was only used when the url of repository had changed and one wanted to update working copy url to point to new svn server location.  But it seems <code>Relocate can only change the repository part of an URL</code>.  </p>
  
  <p>So my question is, what does the --relocate switch do? In particular, <em>can it be used to integrate to user branch a vendor branch that has many differences since previous version</em>, ie</p>
  
  <p><code>svn co path\to\vendor\lib</code></p>
  
  <p><code>svn --relocate lib url\path\to\my\branch</code></p>
  
  <p><code>svn commit -m "Updated my branch with vendor code without using cp, this way _I think_ enables deleting folders and files that don't exist in new version of vendor lib.</code></p>
  
  <p>Am I getting any of this right?</p>