SVN: how to solve 'file has been replaced' status

dwenaus picture dwenaus · Mar 22, 2011 · Viewed 7.1k times · Source

I was modifying files renaming them and switching them around (I was testing alternative homepages). Now I get a status message that says 'File has been replaced' and an R. I'm not sure what to do to solve this. I'm using Coda, and it does not solve it. So i guess it's command line time. The version that I care about is my local version, and I want to overwrite the remote version. i'm the only person working on it so a brute force approach is fine.

Answer

Version Control Buddy picture Version Control Buddy · Mar 22, 2011
  1. Copy the file and put it in a temp location
  2. Run "svn revert "
  3. Now copy it back to the same location
  4. Run "svn st " to check status