Is there a way to get the line number which have added in the cleartool annotate command

我们两清 提交于 2019-12-08 19:26:28
VonC

There is no equivalent to a git log -S or -G (pickaxe search) in ClearCase.

The closest is to parse out the result of a cleartool annotate (as seen in the OP's previous question).

You can annotate a specific revision by using the extended pathname as the pname argument (for example, foo.c@@\main\bug405)

Then you can grep the output of that annotate call in order to grep a particular line or comment.

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