开发者

ClearCase: How to list history of elements with attribute events

How to list history of elements with attribute events?

If I use "-minor", then all the minor events are listed but I want the attributes attached to each version of the elements only.

For example, the following will be an ideal result:

\feecalc-jcc\test.txt  \main\1  mkattr  Added attribute "FIXES" with value "NONE".
\feecalc-jcc\test.txt  \main\1  mkattr  Added attribute "FIXES" with value "CJA-1".
\feecalc-jcc           \main\2  checkin Added file element "test.txt".

With -开发者_运维技巧minor I got a lot more like:

\feecalc-jcc\test.txt       protect CHOWN vobadm

Thank you for your suggestion


Considering the way lshistory (man page), the simplest way would be to still use -minor, and "grep attribute" the result.

–min/or
Includes less important events in the listing: attaching of attributes, version labels, and so on. For type objects and storage pools, minor events include rename operations and changes to pool parameters (mkpool –update).

That option is the only one with attribute-related event mentioned.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜