问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/7521233/how-to-use-clearcase-annotate-sub-command