How to findout all checkout files in ClearCase

本文详细介绍了如何使用ClearCase的lscheckout命令来查找所有签出的文件,包括限定条件如用户、视图、目录、Vob等,并提供了多个示例,如列出当前视图下所有Vob的签出文件、特定分支的所有签出文件以及指定用户的签出文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to find out all checkout files in ClearCase

The lscheckout command lists the checkout records (the checkouts) for one or more elements. There are many controls for specifying the scope: which elements, directories, or VOBs; which user; which view; and so on.

cleartool lsco -h
Usage: lscheckout | lsco [-long | -short | -fmt format] [-cview]
                         [-brtype branch-type-selector] [-me | -user login-name]
                         [-recurse | -directory | -all | -avobs ] [-areplicas]
                         [pname ...]

-long Expands the listing to include the view to which the element is checked out
-short Restricts the listing to the pathnames of checked-out elements
-fmt Lists information using the specified format string. For details about using this report-writing facility
-cview Restricts the listing to checkouts made in the current view
-me Restricts the listing to your own checkouts
-user login-name Restricts the listing to checkouts made by the specified user
-brtype Restricts the listing to checkouts on branches of the specified type.
-recurserve Lists the checkouts of elements in the entire subtree below any directory encountered in the current view.
-all Lists all the checkouts in the VOB containing pname
-avobs *Similar to –all, but includes checkouts in all VOBs active (mounted) on the local host

examples

list current view check out files of all vobs

cleartool lscheckout -avobs -cview

list all check out file of one specific branch

c lsco   -avobs -brtype brtype:my_test_branch

list all my check out files of one specific branch, and only show file pathname

c lsco -avobs -brtype brtype:my_test_branch -me -short

list all check out file by user

c lsco -avobs -brtype brtype:my_test_branch -user Lily

Hopfully above information could help someone.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值