How do I migrate an SVN repository to another SVN repository?

前端 未结 9 941
小蘑菇
小蘑菇 2020-12-07 13:07

Is there a simple way to copy a directory from one repository into another repository with copying all of the history?

9条回答
  •  伪装坚强ぢ
    2020-12-07 13:56

    If you don't want history, you can use svn export to get a clean folder without the .svn folders and then svn import into your other repository.

    With history, you would need to use the svnadmin dump. You would then use svndumpfilter to filter for only the parts or paths you want to use before using svnadmin load.

    Topics to read:

    • Migrating Repository Data Elsewhere
    • Filtering Repository History

提交回复
热议问题