[英]When can I remove entries in svn:mergeinfo?
I've used TortoiseSVN for several years.我已经使用 TortoiseSVN 好几年了。
Several branches were created, merged back to trunk, and then deleted.创建了几个分支,合并回主干,然后删除。
Example of deleted branches:已删除分支的示例:
https://SvnServer/svn/MyProject/branches/branch1 https://SvnServer/svn/MyProject/branches/branch2 https://SvnServer/svn/MyProject/branches/branch3
https://SvnServer/svn/MyProject/branches/branch1 https://SvnServer/svn/MyProject/branches/branch2 https://SvnServer/svn/MyProject/branches/branch3
The svn:mergeinfo of the trunk (https://SvnServer/svn/MyProject/trunk) still contains those merge tracking info for those deleted branches.主干的 svn:mergeinfo (https://SvnServer/svn/MyProject/trunk) 仍然包含那些已删除分支的合并跟踪信息。
Example of svn:mergeinfo: svn 示例:mergeinfo:
/branches/branch1:2106-2146
/分行/分行1:2106-2146
/branches/branch2:1983-2028/分支机构/分支机构2:1983-2028
/branches/branch3:1698-1741/分支机构/branch3:1698-1741
Are these info still necessary?这些信息还需要吗? Can I remove them from svn:mergeinfo property?
我可以从 svn:mergeinfo 属性中删除它们吗?
Are they a problem?他们有问题吗? I would Just leave them, we have loads and loads of them on our Trunk.
我会留下它们,我们的后备箱上有很多东西。 You never know if you may need to see which revisions of a branch were merged into the trunk.
您永远不知道是否可能需要查看分支的哪些修订被合并到主干中。 Also, the braches can still be viewed using the Repo Browser and just picking the revision before they were deleted.
此外,仍然可以使用 Repo Browser 查看分支,只需在删除之前选择修订。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.