Is it possible to migrate a single file from one SVN repository to another while preserving history?

我只是一个虾纸丫 提交于 2020-01-02 04:48:07

问题


I started a small application in my personal SVN repository. It's gained enough interest that it is worth moving development to a shared group repository. Can the application (only a single file) including its history be migrated to the group repository?


回答1:


Check out 'svnadmin dump', 'svnadmin load' and 'svndumpfilter'

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate

Dump the repository with the file you want to move, use svndumpfilter to filter out only the paths for that file, then load the filtered dump into the shared repository.



来源:https://stackoverflow.com/questions/463746/is-it-possible-to-migrate-a-single-file-from-one-svn-repository-to-another-while

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!