title: How to svn-copy a file over an existing one?
body: <p>I have two svn controlled files A and B, where A only contains a few lines and B is huge and has a long history. Now I want to replace the content of file A with the content of file B. But I want to keep the history of (the content of) file B.</p>
  
  <p>What I would like to do is:</p>
  
  <pre><code>svn copy B A
  </code></pre>
  
  <p>But svn tells me that A isn't a directory, so this isn't possible.</p>
  
  <p>I could first delete file A, commit and then move B to A, but I don't like to have a revision in my repo that isn't consistent (doesn't compile).</p>
  
  <p>Is there a way to solve this problem?</p>