问题
How to list the ClearCase versions including the author of each change ?
I tried lsvtree -all
which doesn't give me this information.
回答1:
Check the different options available with fmt_ccase, include "%n %u
": %u
is for user.
The doc mentions:
Note: In commands that output data on multiple versions, such as
lshistory
andlsvtree
, formatting is applied to each version, not to the command output as a whole.
However, since lsvtree doesn't support fmt
, you can fallback to lshistory:
cleartool lshistory -fmt "%n %u\n" afile
来源:https://stackoverflow.com/questions/28943924/how-to-ask-cleartool-lsvtree-to-show-the-authors-name