Cleartool:如何将标签应用于仅在当前视图中的文件? [英] Cleartool: How to apply label to files which are in my current view only?

查看:49
本文介绍了Cleartool:如何将标签应用于仅在当前视图中的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到将标签应用于当前视图中文件的正确命令。我尝试了以下命令:

I could not find the proper command to apply a label to files which are in my current view. I have tried the following command:

cleartool mklabel -r TEST_LABEL /vob/test/a

但是,问题在于此命令会将 Test_Label 标签应用于 vob / test / a 目录中的每个文件,无论这些文件是否在我的当前视图中。

是否有任何命令可以应用标签

However, the problem is that this command will apply the "Test_Label" label to every files in the "vob/test/a" directories regardless of whether the files are in my current view.
Is there any command to apply label only to the files listed in my current view?

推荐答案

cleartool mklabel  -r(ecurse) LABEL_NAME <directory name>

此命令会将LABEL_NAME应用于文件夹中的所有文件,并且位于视图下方,您可以转到该目录,然后键入以下命令以创建并应用标签

This command will apply LABEL_NAME to all files in folder and below of your view, you can just go to that directory,then type following command to create and apply label

> cd /vob/test/a
> cleartool mklbtype –nc TEST_LABEL 
> cleartool mklabel  -r TEST_LABEL .

这篇关于Cleartool:如何将标签应用于仅在当前视图中的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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