Reputation: 43
I'm trying to find out how to get a code history report in which I get the file version for each of code line. I don't need to get multiple rows for each code line. only one. The 'annotate' sub-command has many arguments and I can't find the good one for that purpose. Do you know how to get that?
Many thanks
Upvotes: 4
Views: 2372
Reputation: 1323653
the file version for each of code line
That almost looks like the last example of the cleartool annotate command:
cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c
Meaning: no header, only text line annotations, including the deleted ones.
Upvotes: 5