如何使用命令行获取Clear Case Integration流的最新UCM活动编号

时间:2013-12-25 07:58:14

标签: clearcase-ucm

CC中是否有命令可以获取最新的UCM活动ID,通过该ID可以将文件从Developer Stream传送到Integration流。

1 个答案:

答案 0 :(得分:0)

不是直接,但使用cleartool lsactivity,您可以列出给定流的所有活动,并在其中使用“deliver.”grep,保留最后一个(最新的)。

在“how to find the list activities delivered to integration stream on a particular day?”中查看更多信息:命令如下:

cleartool lsact -in stream:aStream@\aPVob -fmt "%n\n"|grep deliver|tail