问题描述
我在 server.xml 中创建了一个名为 allProjects 的存储库.以下是 allProjects 结构:
I have created a repository named as allProjects in server.Below is the allProjects structure:
所有项目
- 项目
- 项目A
- 项目B
- 项目C
- 项目D
- projectE
现在我正在尝试创建另一个名为 requiredProjects 的存储库,其中包含来自 allProjects 的特定项目.
Now I am trying to create another repository named as requiredProjects which includes specific projects from allProjects.
预期的 requiredProjects 结构是:
Expected requiredProjects structure is:
必填项目
- 项目B
- 项目D
- projectE
我还想创建 requiredProjects 存储库,其所有访问控制和历史记录都与 allProjects 完全相似.
I also want to create requiredProjects repository with all access controls and history exactly similar to allProjects.
我在这个主题上搜索了很多,但找不到任何解决方案.
I have been searching a lot on this topic however I'm unable to find any solution.
任何帮助将不胜感激.
推荐答案
阅读 SVN externals,如果你想拥有共享对象的单点历史记录或
svnadmin dump
+svndumpfilter
+svnadmin load
在子树物理复制的情况下Read about SVN externals, if you want to have single point of history for shared objects or
svnadmin dump
+svndumpfilter
+svnadmin load
in case of physical replication of subtree我找到的最快搜索结果:
As result of fastest search I found:
- svndumpfilter 包含在 SVN 书中
- 一些使用 svndumpfilter 的问题 博客记录立>
- svndumpfilter include in SVN Book
- Some Gotchas with using svndumpfilter blog record
并且,如果您在普通的 svndumpfilter 命令中遇到缺少节点"错误
and, if you'll have hard times with errors "Missing node" in ordinary svndumpfilter command
svndumpfilter 包含 Projects/projectB Projects/projectD Projects/projectE >过滤转储.dmp
您必须拥有、理解和使用Ultima ratio regum":Svndumpsanitizer
you have to have, understand and use "Ultima ratio regum": Svndumpsanitizer
这篇关于使用 svndumpfilter 包含多个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!