# 如何在不破壞任何內容的情況下替換SVN存儲庫中的目錄

## 最佳答案

1. svn up to get your working copy up to date
2. svn delete to get rid of the current directory
3. svn commit -m 'Deleted old module'
4. Copy in the new directory to the working copy
5. svn add to add your new directory structure
6. svn commit -m 'Added new module'

This question has details about how to use "Vendor Branches", which may prove to be a better solution for your situation.