还原用户对ClearCase的更改 [英] Reverting a users changes in ClearCase
问题描述
我们使用ClearCase作为控制版本系统。
We use ClearCase as control version system.
在我们的系统中,有时由于时间限制,我们发布的版本中没有一些开发人员提交。
In our system sometimes we make releases without some developers commits because of time limit.
例如,我在六个类中进行了一些更改,但另一个用户也对全部或部分进行了更改。而且我必须提交代码而不更改他。因此,我使用以前的版本扫描文件,以便可以还原他的更改。但这是一个缓慢而乏味的过程。
For example I made some changes in six classes but another user did changes in all or some of them also. And I have to commit code without his changes. So I scan my files with previous versions so that I can revert his changes. But it's a slow and boring process.
还有另一种方法吗?也许是扩展名还是脚本?
Is there another way to do that? Maybe an extension or a script?
推荐答案
使该过程自动化的唯一方法是:
The only way to automate that process is through:
cset.pl
,它可以接受UCM活动的所有签到并取消它们。
请参阅 Clearcase:如何回滚特定分支上的所有更改?。
但这是针对UCM(可能不是您的情况)
cset.pl
, which can take all the checkins of an UCM activity and cancel them.
See "Clearcase: how to rollback all changes on specific branch?".
But this is for UCM (which might not be your case)
,目的是创建一个新版本来取消您其他开发人员的版本。
In both cases, the idea is to create a new version which cancels the version of your other developer.
这篇关于还原用户对ClearCase的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!