Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
72:clearcase_operations [2018/07/09 18:29] – [ClearCase Operations and Commands] bkkr | 72:clearcase_operations [2018/07/09 18:30] – [ClearCase Operations and Commands] bkkr |
---|
| |
**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> | |
| <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''setcs –tag <view tag> <config spec path>''</font> |
| |
**Explicit View Update in CMS Profile:** | **Explicit View Update in CMS Profile:** |
* <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''update <view directory>''</font> | |
| <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''update <view directory>''</font> |
| |
**Check if View is Registered:** | **Check if View is Registered:** |
* <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lsview''</font> | |
| <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lsview''</font> |
| |
**Mount VOB for Dynamic View:** | **Mount VOB for Dynamic View:** |
* <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lmount <vob tag>''</font> | |
| <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''lmount <vob tag>''</font> |
| |
=== Files === | === Files === |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkout –nc <path></font>'' | * ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkout –nc <path></font>'' |
* Add File: | * Add File: |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>mkelem –mkpath –nc <file element></font>'' | * ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>mkelem –mkpath –nc</font>'' |
* Checkin Directory: | * Checkin Directory: |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkin –comment “added <file name>” <path></font>'' | * ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkin –comment “added ” <path></font>'' |
**Checkout:** | **Checkout:** |
* **''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkout –nc <path></font>'' ** | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkout –nc <path></font>'' |
**Undo Checkout:** | **Undo Checkout:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>uncheckout –rm <path></font>'' | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>uncheckout –rm <path></font>'' |
**Checkin:** | **Checkin:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkin –comment <comment> -identical <path></font>'' | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>checkin –comment <comment> -identical <path></font>'' |
**Change State:** | **Change State:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>[mkattype –ordinary –comment “Stages document state” <attribute \\ | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>[mkattype –ordinary –comment “Stages document state” <attribute \\ |
type specification>] \\ | type specification>] \\ |
mkattr –replace <attribute type> ‘“<attribute value>”’ <file></font>'' | mkattr –replace <attribute type> ‘“<attribute value>”’</font>'' |
| |
**Update File in Snapshot View:** | **Update File in Snapshot View:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>update –force –overwrite –log “NUL”<parent directory></font>'' \\ //or//: \\ ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>update –force –overwrite –log “NUL”<file></font>'' | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>update –force –overwrite –log “NUL”<parent directory></font>'' \\ //or//: \\ ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>update –force –overwrite –log “NUL”</font>'' |
**Check if File is View-Private:** | **Check if File is View-Private:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>describe –fmt “%Vn” <file></font>'' | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>describe –fmt “%Vn”</font>'' |
**Determine Information about Current Version:** | **Determine Information about Current Version:** |
* <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''describe –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ | |
=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n” <file>''</font> | <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''describe –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ |
| =*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n” ''</font> |
| |
**Determine Version History Information:** | **Determine Version History Information:** |
* ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>lshistory –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ | |
=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n” <file></font>'' | ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>lshistory –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c \\ |
| =*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n”</font>'' |
| |
**Download Old Version:** | **Download Old Version:** |
* | |
| |
''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>get –to <temporary path> <element path>@@<version selector></font>'' | ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>get –to <temporary path> <element path>@@<version selector></font>'' |
| |
**Add Label:** | **Add Label:** |
* | |
| |
''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>[mklbtype –ordinary –comment “created by Stages” <label type>] \\ | ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>–ordinary –comment “created by Stages” <label type>]mklbtype[</font>'' |
mklabel –replace <label type> <file></font>'' | |
| ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>mklabel –replace <label type></font>'' |
| |
| |