在我的“待处理更改” View 中,我看到了以下内容:
什么是“待处理补丁”以及它们是如何创建的?我认为可能有人无意中创建了它。我似乎没有选项来查看哪些文件已更改,我应该没有此选项吗?
最佳答案
待处理的补丁是等待在本地工作区应用的差异。
它可以是合并的结果,也可以是显式删除变更集(“挂起”)的结果,作为“补丁”(同样是差异)放在一边,以便清除修改的当前本地工作区您现在还不想申请。
您还可以在 accepting an incoming changet 时创建一个:
Accepting a change set will work when all previous change sets it depends on are present in your repository workspace.
When one of those change sets is missing then there is a gap in history.
RTC SCM prevents an accept from completing in this scenario.
There are two options to get the change into your repository workspace:
- Accept the change sets that will fill the gap. This may be as simple as accepting all incoming changes if the change set you want is in your incoming changes.
- Accept the change set and select the option to accept as a patch.
This will create changes that you can merge into your Eclipse workspace and check-in. A new change set would be created that will not depend on the change sets that would fill the gap.
Help page解释如何创建补丁。
请注意,没有简单的方法可以在 ClearCase 中获得相同的功能。
请参阅:
关于clearcase - RTC源代码控制中的 'Pending Patch'是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13401395/