用大写字母命令获取元素上所有标签的列表 [英] command in clearcase to get list of all labels applied on an element

查看:64
本文介绍了用大写字母命令获取元素上所有标签的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取应用于元素的所有标签的列表。

I'm trying to get the list of all the labels applied on an element.

我正在使用

cleartool desc <element>

这似乎也列出了该元素的所有其他详细信息。
desc命令中是否有仅列出标签的特定选项?

This seems to list all the other details of the element as well. Is there any particular option with desc command that lists only labels?

谢谢

推荐答案

使用 cleartool fmt_ccase 以便将描述限制为仅标签。

Use cleartool fmt_ccase in order to restrict the describe to only the labels.

cleartool descr -fmt "%l" myFile

您可以看到以下技术:

  • "Which tag or branch is created from a particular branch"
  • "Command to find labels applied on particular branch"
  • "Cleartool - List Objects with Their Labels"

例如,稍完整的输出将是:

For instance, a slightly more complete output would be:

cleartool descr -fmt \"%n labels:%l\n\" myFile

注意:在UCM中, cleartool lsbl 就足够了(用于列出基准)。 br>
但是对于基本的ClearCase, cleartool descr 有用。

Note: in UCM, a cleartool lsbl would be enough (for listing baselines).
But for base ClearCase, cleartool descr works.

这篇关于用大写字母命令获取元素上所有标签的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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