如何使用cleartool获取UCM流和基线? [英] How to obtain UCM stream and baseline with cleartool?

查看:57
本文介绍了如何使用cleartool获取UCM流和基线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于构建日志记录,我需要使用 cleartool 获取当前的流/基线,但是我在确定哪个命令可以提供此信息的过程中遇到了麻烦。

For build logging, I need to obtain the current stream/baseline with cleartool, but I am stuck in determining which command will give me this information.

如何使 cleartool 告诉我当前正在查看的流/基线?

How can I make cleartool tell me which stream/baseline I am currently looking at? It is no problem if the output needs preprocessing or filtering.

推荐答案

如果在视图中,则可以:

If you are in a view, you can:


  • 获取当前流


cleartool lsstream -cview




  • 获取该流中某个组件的所有基线

  • 
    cleartool lsbl -comp myComp@\myPVob -stream myStream@\myPVob
    




    • 获取该流的所有基础基准

    • 
      cleartool descr -fmt "%[found_bls]CXp" stream:myStream@\myPVob
      

      不要忘记了,在具有 modifiable 组件的流的视图中,您看到的不仅是基线,而且是(基础)基线以及在与该流相关联的分支中所做的所有修改。

      Don't forget that in a view on a stream with a modifiable component, what you see is not just a baseline, but a (foundation) baseline plus all the modifications done in the branch associated with said stream.

      这篇关于如何使用cleartool获取UCM流和基线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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