如何在一个Clearcase(Windows)快照视图中查找签出的文件? [英] how to find checked out files in a clearcase (windows) snapshot view?

查看:83
本文介绍了如何在一个Clearcase(Windows)快照视图中查找签出的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Unix上以动态视图运行以下命令以查找检出的文件:

On Unix in a dynamic view, I run the following to find checked out files:

cleartool lsco -s -cview -me -avobs

在Windows快照视图中,对-avobs的使用似乎不起作用。我可以在逐个VOB的基础上运行:

In a windows snapshot view, this use of -avobs doesn't appear to work. On a vob by vob basis I can run:

cleartool lsco -s -cview -me -all

会向我返回该VOB的签出姓名。

which returns the checked out names to me for that vob.

有没有办法告诉Windows快照视图中哪些话单有结帐? (不确定Windows与Unix是否是这里的一个因素)。我想编写lsco脚本,在每个有问题的小工具中执行。

Is there a way to tell what vobs have checkouts in a Windows snapshot view? (not sure if Windows vs. Unix is a factor here). I'd like to script the lsco, executing it in each of the vobs in question.

推荐答案

考虑每个小工具是直接的快照视图的根目录的子目录,您要做的就是:

Considering each vobs is a direct child directory of the root directory of your snapshot view, all you need to do is to:


  • 列出每个直接子目录(其名称代表一个VOB)

  • 在每个目录中执行cleartool lsco。

这与围绕 ; -cview -avobs "在此技术说明:

This is consistent with the issue around the usage of "-cview -avobs" mention in this technote:


本地修复

Local fix

请勿使用 lsco -cview -avobs

您需要运行 cleartool lsco ,同时在Windows快照视图的每个Unix vob中进行cd。

Do not use lsco -cview -avobs.
You needs to run cleartool lsco while cd'd in each Unix vob in the Windows snapshot view.

这篇关于如何在一个Clearcase(Windows)快照视图中查找签出的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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