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.
What I would like to do is:
svn copy B A
But svn tells me that A isn't a directory, so this isn't possible.
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).
Is there a way to solve this problem?