1

Is there an easy way to check in which file version the function has been modified in Clearcase? In my current environment I have file where the function is modified in some prior check-ins. On doing compare with previous version, it is not the one. So I have to go and compare with all previous check-ins to figure out in which version this has been modified. So is there an easy way to do it?

Rahul Sundar
  • 480
  • 8
  • 26

1 Answers1

2

You can check the cleartool annotate function

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.

You can find an example in this answer.

See also "How to use ClearCase annotate sub-command?".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250