ClearCase (cleartool subcommand), Attache (command)
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.
Permissions Checking: No special permissions required. Locks: No locks apply.
(CLEARCASE ONLY) LISTING CHECKOUTS GRAPHICALLY. Default: Lists checkouts in the command window.
REPORT FORMAT. Default: The listing of a checkout event record looks like this:
31-Aug.20:19 drp checkout version "lscheckout.txt" from \main\24 (reserved)
"delete extra spaces"
SELECTING CHECKOUT RECORDS TO LIST. Default: The listing includes all checkouts for the specified elements, including checkouts made in any view by any user.
type-name | Name of the branch type | |
vob-selector | VOB specifier Specify vob-selector in the form [vob:]pname-in-vob | |
pname-in-vob | Pathname of the VOB-tag (whether or not the VOB is mounted) or of any file-system object within the VOB (if the VOB is mounted) | |
SPECIFYING THE ELEMENTS. Default: The current working directory (equivalent to specifying "." as the pname argument). If you don't specify any options, lscheckout lists all checkouts of elements in the current directory, to any view. If the current directory is itself checked out, this is also indicated.
|
|
The following options modify the processing of the pname arguments.
The following option is mutually exclusive with pname arguments:
Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
cmd-context lscheckout
08-Dec.12:17 jackson checkout version "hello.c" from \main\4 (reserved)
08-Dec.12:17 jackson checkout version "hello.h" from \main\1 (unreserved)
"modify local defines"
08-Dec.12:17 jackson checkout version "msg.c" from \main\rel2_bugfix\0 (reserved)
cmd-context lscheckout -short -cview
hello.c
hello.h
hw.c
include
cmd-context lscheckout -recurse
08-Dec.12:17 jackson checkout version "hello.c" from \main\4 (reserved)
08-Dec.12:17 jackson checkout version "hello.h" from \main\1 (unreserved)
"modify local defines"
08-Dec.12:17 jackson checkout version "msg.c" from \main\rel2_bugfix\0 (reserved)
08-Dec.12:17 jackson checkout directory version "subd" from \main\1 (reserved)
08-Dec.12:17 jackson checkout version ".\subd\util.h" from \main\0 (reserved)
cmd-context lscheckout -avobs -me
08-Dec.12:17 jackson checkout version "\users_hw\src\hello.c" from \main\4 (reserved)
08-Dec.12:17 jackson checkout version "\users_hw\src\hello.h" from \main\1 (unreserved)
"modify local defines"
08-Dec.12:17 jackson checkout directory version "\users_hw\release" from \main\0 (reserved)
08-Dec.12:17 jackson checkoutversion "\users_hw\src\msg.c" from \main\rel2_bugfix\0 (reserved)
08-Dec.12:17 jackson checkout version "\users_hw\src\util.h" from \main\0 (reserved)
cmd-context lsco -fmt "%d\t%Lu\t%En\n\tPredecessor: %[version_predecessor]p\n\tHost: %h\n\tStatus: %Rf\n\tElement type: %[type]p\n"
16-Jun-99.15:23:15 lee.user files.txt
Predecessor: \main\96
Host: neon
Status: unreserved
Element type: text_file
09-Jun-99.15:39:09 susan.user mkfile.fm
Predecessor: \main\27
Host: pluto
Status: reserved
Element type: frame_document
16-Jun-99.12:23:11 cheryl.user mktype.fm
Predecessor: \main\115
Host: troy
Status: reserved
Element type: frame_document
10-Jun-99.12:29:30 john.user files.txt
Predecessor: \main\26
Host: marcellus
Status: reserved
Element type: text_file
checkin, checkout, lsprivate, uncheckout
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |