how to find out all the checked out files in a branch

…衆ロ難τιáo~ 提交于 2019-11-28 09:29:39

问题


As title, could anyone of you give me a working instruction to solve that problem ? thanks a lot!


回答1:


If you only after checked-out files and you are in a dynamic view set to see only MY_BRANCH:

ct lsprivate -co .

(with '.' being the parent directory under which you want to find co files)
That command is recursive by default.
Your config spec would need to be

element * CHECKEDOUT
element * .../MY_BRANCH/LATEST
element -directory /main/LATEST

With checked-out files and directories in a snapshot or dynamic view, use indeed lsco, but knowing that command is not recursive by default. So I would recommend:

ct lsco -rec -brtype MY_BRANCH



回答2:


$ ct lsco -brtype your-branch-type-selector



回答3:


Start by having a look here : IBM ClearCase Command Reference : lscheckout

Then, as an example, try this...

If your branch was foo, and your are in the VOB you want to check, you can run

  ct lsco -brtype foo

or

  ct lsco -brtype brtype:foo


来源:https://stackoverflow.com/questions/1576701/how-to-find-out-all-the-checked-out-files-in-a-branch

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