ClearCase (cleartool subcommand), Attache (command)
The lstype command lists information about one or more of a VOB's type objects.
Type objects can be rendered obsolete with the lock -xxtype -obsolete command. lstype lists an obsolete type object only if you either specify its name with a type-name argument or use the -obsolete option.
Permissions Checking: No special permissions required. Locks: No locks apply.
(NOT IN ATTACHE) LISTING TYPE OBJECTS GRAPHICALLY. Default: Lists type objects in the command window.
LISTING LOCAL COPIES OF GLOBAL TYPES. Default: In addition to types in the specified VOB, lstype lists all global types in associated administrative VOBs.
LISTING FORMAT. Default: A type object listing looks like this:
07-Nov-1998 sakai element type "text_file"
LISTING OBSOLETE TYPES. Default: If you don't specify any type-name argument, only the nonobsolete types of the specified kind are listed.
SPECIFYING THE KIND OF TYPE OBJECT. Default: None.
SPECIFYING THE VOB. Default: Lists type objects in the VOB that contains the current working directory.
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 INDIVIDUAL TYPE OBJECTS. Default: None.
type-kind | One of | |
type-name | Name of the type object. See the Object Names section in the cleartool reference page for rules about composing names. | |
vob-selector | Object-selector for a VOB, in the same format as with -invob, above. | |
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 lstype -kind brtype
15-Dec.09:34 jenny branch type "main"
"Predefined branch type used to represent the main branch of elements."
08-Dec.12:12 jackson branch type "test"
"test development branch"
08-Dec.12:12 jackson branch type "patch2"
08-Dec.12:12 jackson branch type "patch3"
08-Dec.12:12 jackson branch type "rel2_bugfix"
cmd-context lstype -kind lbtype -obsolete -short
BACKSTOP
CHECKEDOUT
LATEST
REL1 (obsolete)
REL2
REL3
V2.7.1 (obsolete)
Note that the listing includes the three predefined label types, BACKSTOP, LATEST, and CHECKEDOUT.
cmd-context lstype -long eltype:c_source
element type "c_source"
08-Dec-98.12:12:38 by jackson.dvt@oxygen
owner: jackson
group: dvt
scope: this VOB (ordinary type)
type manager: text_file_delta (inherited from type "text_file")
supertype: text_file
meta-type of element: file element
cmd-context lstype -long trtype:trig1
trigger type "trig1"
08-Dec-98.12:14:08 by jackson.dvt@oxygen
owner: jackson
group: dvt
element trigger
pre-operation MODIFY_ELEM
action: -exec checkcmt
cmd-context lstype -long hltype:design_spec
hyperlink type "design_spec"
08-Dec-98.12:13:31 by Chuck Jackson (test user) (jackson.dvt@oxygen)
"source to design document"
owner: jackson
group: dvt
scope: this VOB (ordinary type)
cmd-context lstype -fmt "%n\n\tLock status: %[locked]p\n\tMastering replica: %[master]p\n\tScope: %[type_scope]p\n" -kind lbtype
V3.BL3
Lock status: unlocked
Mastering replica: lex
Scope: ordinary
V3.BL4
Lock status: locked
Mastering replica: lex
Scope: global
V4.0.DOC
Lock status: unlocked
Mastering replica: doc_clone
Scope: ordinary
V4.0.HELP
Lock status: unlocked
Mastering replica: doc_clone
Scope: ordinary
cmd-context lstype -fmt "%n\t%[trigger_kind]p\n\t%c" trtype:cmnt
cmnt element trigger
prompt user for comment
describe, rmtype, rename, type_object
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |