Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
72:clearcase_operations [2018/07/09 17:58] – [ClearCase Operations and Commands] bkkr72:clearcase_operations [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
    * Snapshot View:    * Snapshot View:
-      * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''mkview -snapshot [-vws <view storage location>] – tag \\ +      * ''mkview -snapshot [-vws <view storage location>] – tag \\ 
-<view tag> <view location>''</font>+<view tag> <view location>''
   * Dynamic View:   * Dynamic View:
-      * ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>mkview – tag <view tag> <view storagelocation></font>''+      * ''mkview – tag <view tag> <view storagelocation>''
 **View Deletion** **View Deletion**
   * Snapshot View:   * Snapshot View:
-      * ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>rmview –force <view location></font>''+      * ''rmview –force <view location>''
   * Dynamic View:   * Dynamic View:
-      * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''rmview –force <view storage location>''</font>+      * ''rmview –force <view storage location>''
  
 **Set Config Spec (includes view update):** **Set Config Spec (includes view update):**
-  * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''setcs –tag <view tag> <config spec path>''</font>+ 
 +''setcs –tag <view tag> <config spec path>''
  
 **Explicit View Update in CMS Profile:** **Explicit View Update in CMS Profile:**
-  * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''update <view directory>''</font>+ 
 +''update <view directory>''
  
 **Check if View is Registered:** **Check if View is Registered:**
-  * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lsview''</font>+ 
 +''lsview''
  
 **Mount VOB for Dynamic View:** **Mount VOB for Dynamic View:**
-  * <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lmount <vob tag>''</font>+ 
 +''lmount <vob tag>'' 
 + 
 +=== Files === 
 + 
 +**Initial Creation:** 
 +  * Checkout Directory: 
 +      * ''checkout –nc <path>'' 
 +  * Add File: 
 +      * ''mkelem –mkpath –nc'' 
 +  * Checkin Directory: 
 +      * ''checkin –comment “added ” <path>'' 
 +**Checkout:** 
 + 
 +''checkout –nc <path>'' 
 + 
 +**Undo Checkout:** 
 + 
 +''uncheckout –rm <path>'' 
 + 
 +**Checkin:** 
 + 
 +''checkin –comment <comment> -identical <path>'' 
 + 
 +**Change State:** 
 + 
 +''[mkattype –ordinary –comment “Stages document state” <attribute \\ 
 +type specification>] \\ 
 +mkattr –replace <attribute type> ‘“<attribute value>”’'' 
 + 
 +**Update File in Snapshot View:** 
 + 
 +''update –force –overwrite –log “NUL”<parent directory>'' \\ //or//: \\ ''update –force –overwrite –log “NUL”'' 
 + 
 +**Check if File is View-Private:** 
 + 
 +''describe –fmt “%Vn”'' 
 + 
 +**Determine Information about Current Version:** 
 + 
 +''describe –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ 
 +=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n” '' 
 + 
 +**Determine Version History Information:** 
 + 
 +''lshistory –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ 
 +=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n”'' 
 + 
 +**Download Old Version:** 
 + 
 +''get –to <temporary path<element path>@@<version selector>'' 
 + 
 +**Add Label:** 
 + 
 +''–ordinary –comment “created by Stages” <label type>]mklbtype['' 
 + 
 +''mklabel –replace <label type>''