how to find out all the checked out files in a branch
Asked Answered
V

3

3

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

Valida answered 16/10, 2009 at 7:53 Comment(0)
T
3

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
Theseus answered 16/10, 2009 at 11:36 Comment(0)
L
3
$ ct lsco -brtype your-branch-type-selector
Lianne answered 16/10, 2009 at 8:16 Comment(0)
T
3

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
Theseus answered 16/10, 2009 at 11:36 Comment(0)
S
0

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
Stablish answered 16/10, 2009 at 10:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.