Cleartool命令列出变更集的所有文件 [英] Cleartool command to list all files part of a changeset

查看:66
本文介绍了Cleartool命令列出变更集的所有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要使用Cleartool和1.我想将一个密码集编号传递给Clearcase服务器,并希望查看将成为该Changeset一部分的所有文件.2.将这些文件名传递到Clearcase服务器,然后将文件的最新版本复制到我的本地计算机上.

I have a requirement where I want to use Cleartool and 1. I would like to pass a chageset number to Clearcase server and would like to see all files that would be part of that Changeset 2. Pass these file names to Clearcase server and copy the latest version of the files onto my local machine.

是否可以使用cleartool实现此功能?

Is there a way to achieve this functionality using cleartool?

有人可以建议带有需要传递的必要参数的命令吗?

Can someone please suggest the commands with the necessary parameters that needs to be passed?

谢谢.

推荐答案

对于ClearCase UCM,变更集"是UCM活动的一部分

With ClearCase UCM, the "changeset" is part of an UCM activity

要查看活动中的内容(即已修改版本的列表),您可以执行以下操作:

To see the content (ie the list of versions modified) in an activity, you can do a:

cleartool descr -l activity:myActivity@\myPvob

如果您的活动名称的命名约定是数字",则"myActivity"将是"aNumber".

If the naming convention for your activities names is a "number", then "myActivity" would be "aNumber".

要获取最新版本,最好执行以下操作:

For getting the latest version, it is best to:

  • (通过fmt_ccase)了解已创建该活动的Stream:

  • know what Stream that activity has been created (through fmt_ccase):

cleartool descr -fmt "%[stream]Xp" activity:myActivity@\myPVob

  • ,然后修改动态视图的配置规范

  • and then modify the config spec of a dynamic view

    element * .../myStream/LATEST
    

  • 这篇关于Cleartool命令列出变更集的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆