Search code examples
clearcasecleartoolclearcase-ucm

How to find list of files created and modified in a UCM stream?


Whenever developer tries to debug the code they wanted to know list of files created and modified from particular day . I use

cleartool find command with created_since , but it finds only the files which are created not modified.

How to find both?


Solution

  • The cleartool find command can give you what you want, provided you look for versions created since a date, not element (file or directory).

    See "Additional examples of the cleartool find command":

    cleartool find <vobtag> -version "{created_since(target-data-time)}" -print
    

    Since you are in UCM, you can limit that search to a specific branch name (corresponding to a specific Stream)

    cleartool find <vobtag> -version "{brtype(BRANCH) && created_since(target-data-time)}" -print
    

    Add the user in this request:

    cleartool find <vobtag> -version "{created_by(user2) && brtype(BRANCH) && created_since(target-data-time)}" -print
    

    And you should get what you need for a developer for a given Stream and date.