18

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

sarat
  • 9,954
  • 7
  • 39
  • 73

2 Answers2

27

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.

Nikola Malešević
  • 1,652
  • 4
  • 20
  • 42
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
0

If you want to send command output to stdout.

cleartool annotate -out - foo.c

Byungwoo Jeon
  • 61
  • 2
  • 6