In Rational Software's Clearcase, is there a cleartool
subcommand, or other command line tool, equivalent to the blame
command in SVN or in git?
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 thefmt_ccase
reference page.
By default, annotate writes its output to a file whose file-name extension is.ann
.
To have the output on the terminal, like SVN or git blame, a command-line might be:
cleartool annotate -out - source_file_path