Created
March 29, 2012 18:26
-
-
Save mindjiver/2241594 to your computer and use it in GitHub Desktop.
ClearCase life saver commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # search for a label in the current VOB. | |
| cleartool find -all -ver "lbtype(!*)" -print | |
| # search for a branch in the current VOB. | |
| cleartool find -all -ver "brtype(!*)" -print | |
| # show all checkedout files in current VOB. | |
| cleartool lsco -all -cview | |
| # checkin all checkedout files. | |
| cleartool lsco -all -cview -short | xargs cleartool ci -nc | |
| # diff all checkedout files against "HEAD" [checkedout parent] in serial format. | |
| cleartool lsco -cview -all -short | xargs -n1 cleartool diff -pred -serial | |
| # Merge to current branch all files from branch topic42, automerge everything but | |
| # show graphical merge tool if we fail | |
| cleartool findmerge . -fver .../topic42/LATEST -merge -gmerge | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment