2

I believe this is a simple question: I want to find which files were modified when I fixed a bug. I know some words in the commit messages. In other version control I'd list all the commit messages and grep for my correction. Something like:

svn log|grep -C 10 'Access Violation'

I can't find in ClearCase how to do the simple task of listing all the commit messages of a stream. I want to see also the commit messages of the child streams. Can someone help me?

neves
  • 33,186
  • 27
  • 159
  • 192

1 Answers1

0

That would be because there is no "commit message" per se in ClearCase.

  • each file can have its own comment when checked-in
  • the UCM activity in which you are checking in a file has its own comment
  • the UCM baseline which will include several activities has its own comment.

So, for instance you can list activities (as I illustrate in "how to find the list activities delivered to integration stream on a particular day?"):

cleartool lsact -r -in stream:aStream@\aPVob -fmt "%n %c"|grep "Access Violation"

and grep on their comment message, using the fmt_ccase format to display the associated comment (with %c).

Note the -r (recursive) option, which will include activities from the child streams.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250