Any svn blame equivalent for clearcase?

旧巷老猫 提交于 2019-12-03 11:22:02

问题


Are there any cleartool command line or tools equivalent to SVN's blame in Rational Clearcase?


回答1:


The closest one would be with cleartool annotate:

The annotate command lists the contents of a version, annotating each line to indicate when, and in which version, the line was added.
You can customize the annotations using the –fmt option, which is described in the fmt_ccase reference page.
By default, annotate writes its output to a file whose file-name extension is .ann.




回答2:


If you want to send command output to stdout.

cleartool annotate -out - foo.c



来源:https://stackoverflow.com/questions/6826020/any-svn-blame-equivalent-for-clearcase

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