问题
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