How can I sync a changed SVN export back into the repository?
An export of the repo was done, and then altered - files changed, added, and removed. If this was mercurial for example, I could delete the entire checkout, paste the export in, hit commit, and it would work out the differences. However, SVN has all those .svn folders around, so that approach won't work. I hit t开发者_如何学Chis problem quite frequently (migrating old websites) and resolving it manually is tedious and error-prone. Is there a quick way to do this?
- Make a new checkout
- Do a folder diff to see which files were removed and delete those in SVN
- replace files in the checkout with the files in the export
- merge
- commit
精彩评论