Search code examples
clearcase

How to ask cleartool lsvtree to show the author's name


How to list the ClearCase versions including the author of each change ?

I tried lsvtree -all which doesn't give me this information.


Solution

  • 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 and lsvtree, 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