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?
Asked
Active
Viewed 92 times
1
-
Do you use UCM or Base? – Tamir Gefen Jun 30 '14 at 08:37
-
We use UCM for Clearcase – Rahul Sundar Jun 30 '14 at 08:39
1 Answers
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 thefmt_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?".