CC Unix Cheatsheet
CC Unix Cheatsheet
CLEARCASE COMMANDS
1 GENERAL COMMANDS
These are a subset of the commands and options available to you. Check the man page for more information.
CHECKOUT cleartool co [-unreserved] [-c comment] element-path
CHECKIN cleartool ci [-c comment] element-path
UNCHECKOUT cleartool unco [-keep] [-rm] element-path
CREATE NEW ELEMENT PARENT DIRECTORY MUST FIRST BE CHECKED OUT AND MUST ALSO BE CHECKED BACK
IN.
- Directory cleartool mkdir dir-path
- Element cleartool mkelem [-mkpath] [-eltype element-type] element-path
SET CONFIG SPEC cleartool setcs configspec_textfile
EDIT CONFIG SPEC cleartool edcs
LIST VERSION TREE cleartool lsvtree [-all] element-path
LIST CHECKOUTS cleartool lsco [-me |-user user-id] [-recurse | -all] [element-path]
SHOW CURRENT VIEW INFORMATION cleartool pwv
12/9/2021 /conversion/tmp/scratch/58533395.doc
Page 2 of 5
CLEARCASE FOR UNIX CHEAT SHEET
LIST ELEMENT HISTORY cleartool lshistory [-short] [-long] element-path
COMPARE TWO VESRSIONS OF A FILE cleartool diff [–serial_format | –diff_format | –columns n] [–
predecessor | element1-path] [element2-path …]
Ex. cleartool diff –diff_format Makefile Makefile@@R2.0.B22
Compare Makefile in current view with the one in build 22.
SHOW MAN PAGES cleartool man [command]
REMOVE OLD VIEW cleartool rmview [ [-tag dyn-view-tag] | [snap-view-dir] ]
2 DYNAMIC VIEWS
Set into dynamic view cleartool setview view-tag
Mount a vob (/vobs/* directory) cleartool mount /vobs/vob-name
3 SNAPSHOT VIEWS
Update snapshot view cleartool update
USING VIEWS
7 SELECTING A VIEW NAME/TAG
Pick a name for your view using the following convention: {userid}_{viewtype}_{vob}_{branch}
o View type will be sv for snapshot, dv for dynamic, wv for web
For example, my snapshot view for development on the release 2.0 iteration 2 branch for infopro_server would be
called prdjd_sv_ips_r2.0_iter2