Exporting a single tree svn structure with all history into a new mutitree structure

时光怂恿深爱的人放手 提交于 2020-01-03 03:43:06

问题


We currently have an svn server where everything is in one big tree, for all our projects.

Is is possible in some way to export these projects and their history into a new multi tree structure?

Is there some way to only dump a partial path of the tree so i can get each project in its own backup file and import those into the new svn server?

edit: to clarify, we have one repository with a structure containing customers and their projects, we now want one repository for each project, instead.


回答1:


You may want to look at Migrating Repository Information Elsewhere section of the SVN book. To summarize:

  • svnrdump dump the repository subdirectory into a dump file.
  • svnrdump load it into new repository.

This section might also solve your problem..



来源:https://stackoverflow.com/questions/14753630/exporting-a-single-tree-svn-structure-with-all-history-into-a-new-mutitree-struc

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