how to find checked out files in a clearcase (windows) snapshot view?

好久不见. 提交于 2019-11-28 10:58:07

问题


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

cleartool lsco -s -cview -me -avobs

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

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

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.


回答1:


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

  • list every direct child directory (whose name represents a vob)
  • execute your cleartool lsco within each of those directories.

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

Local fix

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



来源:https://stackoverflow.com/questions/8749190/how-to-find-checked-out-files-in-a-clearcase-windows-snapshot-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!