How to find files asssociated with a ClearCase UCM activity?

风格不统一 提交于 2019-11-26 23:32:43

问题


Can someone help me with the following question: How can I find files that were checked in with some activity.

For example:

I am working on a view called syoffe_my_product_view and in the past I created an activity - BUG123_activity.
Now I need to find all the files that were checked in with this activity

What command/option do you recommend?


回答1:


See cleartool lsactivity man page:

 cleartool lsactivity -l activity-id@\aPVob      # (windows)
 cleartool lsactivity -l activity-id@/vobs/aPVob # (unix)

You have also the describe option with fmt_ccase

 cleartool describe -fmt "%[versions]CQp"  activity-title@\aPVob

In both cases, make sure to use the activity ID and noy the activity "headline":

The activity above, for instance, woiuld need test1_24342, not test1 (its "Headline")

If you execute it:

  • outside your view, you will get the extended paths for all the versions recorded in this activity.
  • within your view, you will get the paths.



回答2:


cleartool lsact -l 

There are another options but this is a good one for starting...

Tamir




回答3:


If you have ClearTeam Explorer follow these steps,

  • Open ClearTeam Navigator.
  • Click My Views-> [some view] ->My Activities.
  • Clear Team Details tab will open with list of activities created by you.
  • Right click on specific activity and select Show Change Set.
  • ClearCase Change Set tab will open and lists Check-in files under specific activity.


来源:https://stackoverflow.com/questions/10632109/how-to-find-files-asssociated-with-a-clearcase-ucm-activity

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!