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 theoption, 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