I am using Subversion with some files that are managed by another application. I would like to rename the files, but the rename must be done from within the application so that it correctly updates its own metadata. This means that I cannot simply use SVN’s rename command — the application’s metadata will become inconsistent.
So how can I can I tell SVN that the files in the working copy have been renamed by this application, so that it preserves history in the same way as per the rename command?
You could simulate a “record-only” rename after the fact with something like
That will preserve any changes that your application may have made inside the file, but allow svn to make the connection between the history of “oldname” and “newname”.