我有一种不好的预感,答案是否定的,但是 ClearCase Remote Client 在单命令模式下的签入命令无论如何都是原子的吗?
例如,我有三个文件 A、B 和 C。我对每个文件进行更改并执行签入。 A 签入,B 签入,但 C 发生合并冲突。在这种情况下,会发生什么?所有文件的签入都会失败,还是仅 C 文件会失败(在这种情况下,存储库处于损坏状态)。
如果是后者,有没有办法仅使用 rcleartool 使其原子化?
任何帮助将不胜感激!
I have a bad feeling that the answer is no, but is the checkin command of ClearCase Remote Client in single-command mode in anyway atomic?
For example, I have three files A, B, and C. I make changes to each file and perform a checkin. A checks in, B checks in, but C gets a merge conflict. In that case, what happens? Will the checkin for all files fail, or will it fail for only C (in which case, the repo is in a broken state).
If it is the latter, is there a way to make it atomic using just rcleartool?
Any help would be appreciated!
发布评论
评论(1)
我还没有测试过它,但还没有测试过:
(这让我认为 rcleartool 不应该能够通过 WAN 执行原子签入:它会阻塞 Vob 太长时间)。
Checkin 的最新(7.1.2)描述确实提到:
因此,如果发生合并冲突,它将中止所有事务。
I haven't tested it yet, but not that:
(which makes me think that rcleartool shouldn't be able to perform -- over WAN -- an atomic checkin: it would block a Vob for way too much time).
The latest (7.1.2) description of Checkin does mention:
So in case of a merge conflict, it will abort the all transaction.