title: How to recover from an unwanted rename using git-svn: "Transaction is out of date"
body: <p>I'm using git-svn. I've moved file 'A' to 'B' and I'm up to date with the svn HEAD (using <code>git svn rebase</code>). I can commit all other changes without problems. Now I've decided that I want to move 'B' back to 'A' and commit that change.</p>
  <p>When I do the move and commit to my local master it works fine, but I get the following when doing a <code>git svn dcommit</code>:</p>
  <pre><code>Transaction is out of date: Out of date: 'A' in transaction '3652-1' at /opt/local/libexec/git-core/git-svn line 570
  </code></pre>
  <p>So I tried to copy and delete in a separate commit which resulted in:</p>
  <pre><code>Item already exists in filesystem: File already exists: filesystem '/usr/svn/db', transaction '3652-1', path 'A' at /opt/local/libexec/git-core/git-svn line 4735
  </code></pre>
  <p>I've recovered from this situation with plain svn by using the workarounds like the one described in the <a href="https://svn.haxx.se/subusers/archive-2005-02/0096.shtml" rel="nofollow noreferrer">documentation</a>, but I don't know how to recover with git-svn. What is going on and how do I fix it?</p>