我有这个场景:
这是正确的方法吗?
就在此时,每当我想在同一个根中使用 SVN 做更多事情时,我都会看到这个错误:
Error: Merge tracking not allowed with missing subtrees; tryo restoring items
当我想将我在本地合并的所有内容(从 SVNBranch 到 LocalCopyOfTrunk)提交到 Trunk 时,我看到有问题的文件夹及其内容状态为 失踪 .我标记了所有我想提交的东西(没有那些遗漏的东西),点击 OK,然后得到这个警告:
Non-recursive commit of moved/renamed folders (This commit is not recursive, and there are moved/renamed folders selected for commit. Such moves/renames are always performed recursively in the repository. Do you want to commit anyway?)
当我打开有问题的根目录 TortoiseSVN->Revert 的父文件夹并将它们还原时,SVN 再次运行没有问题。但我如何删除它们?解决此树冲突的更好方法是什么?
最佳答案
Is this the right way to do it?
不。
执行合并后,TortoiseSVN 将显示一个窗口,其中所有树冲突都标记为红色。双击它们将显示一个带有选项的对话框。这些选项之一是“接受当前工作副本状态(标记为已解决)”。此单击使 TortoiseSVN 为您删除文件夹并将冲突标记为已解决。
关于svn - 使用 TortoiseSVN 合并时如何处理树冲突,以防文件夹被删除?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20004581/