Samselvaprabu
Samselvaprabu

Reputation: 18147

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?

Upvotes: 1

Views: 6451

Answers (3)

Magellan
Magellan

Reputation: 81

I followed what brainimus had to say here.
IBM Clear Case-> Administration -> Report builder. In the Tree view Under \Reports Select Elements, and then choose the appropriate option.

Upvotes: 0

Pradeep Pandey
Pradeep Pandey

Reputation: 1

Below is example of finding all files changed after 27-Aug-2014

cleartool find . -version "{created_since(27-Aug-2014)}" -print

Upvotes: 0

VonC
VonC

Reputation: 1323463

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.

Upvotes: 4

Related Questions