Reverse Changset of an activity in Clearcase

▼魔方 西西 提交于 2019-11-29 12:08:09
VonC

One more robust way would be to:

  • list all files in an activity
  • for each file, find the oldest version
  • make a negative merge, or subtractive merge.

A subtractive merge can be performed to exclude or bypass bad versions on a branch without actually removing the bad versions.
Cleartool merge using the -delete option will allow a user to merge from the last known good version to a new version on the same branch which excludes the work done in the versions identified as bad versions.

That would be compliant with your SCM policies in place.

That is in essence what does the cset.pl script mentioned by Tamir, as I explain in "Clearcase: how to rollback all changes on specific branch?"

ccperl cset.pl -undo myActivity
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!