从特定分支创建哪个标签或分支 [英] Which tag or branch is created from a particular branch

查看:66
本文介绍了从特定分支创建哪个标签或分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ClearCase中,假设我有一个分支App_Feb_Branch.现在,我想知道是否已从该分支创建任何标签或标签.我如何获得此信息?

In ClearCase suppose I have a branch App_Feb_Branch. Now I want to know if any Tag or Label has been created from this branch. How can I get this information?

推荐答案

您可以列出带有标签的版本的基线(对于ClearCase UCM)或grep(对于基本的ClearCase).

You can list baselines (for ClearCase UCM) or grep for version with a label (for base ClearCase).

请参阅"

ct find . -nrec -name "." -ver "brtype(myBranch)" -exec "cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\""

使用

With fmt_ccase formatting options, you can use the %l to only display labels for the versions found.

这就是上述 cleartool查找 cleartool descr -fmt%l" \%CLEARCASE_XPN%\" 部分的作用.

That is what the cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\" part of the cleartool find above does.

这篇关于从特定分支创建哪个标签或分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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