Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • Unknown Mushrooms 2
  • Easier Programming Language
  • Managing is Common Sense
  • Improve Cereal Packaging
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (52)
  • HELP THE WORLD (102)
  • IMPROVE GOVERNMENTS (99)
  • PERSONAL DEVELOPMENT (272)
  • COMPUTER HELP (130)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: How to Lock a Branch


    Once in a while, I am asked to lock a branch, so that no user can add or delete to versions or labels on this branch. I prefer and recommend locking the entire branch type for each branch in an entire VOB. To do this, I use this command:

    cleartool lock brtype:BRANCH_NAME

    Keep in mind that you have to lock the brnach type in each VOB that has the label. You can even specify the VOB name without going to the VOB using this command:

    cleartool lock brtype: BRANCH_NAME@vob:VOB_TAG

    You can even add a user exception list who the lock does not apply to. Here is any example on how to do this:

    cleartool lock –nuser USERID1,USERID2, brtype:BRANCH_NAME

    The USERID argument should at least include your core id.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Lock a Label
     » ClearCase Support: Finding Label and Branch Types
     » ClearCase Support: Renaming Label and Branch Types







    Copyright © 2006-2010, Phil for Humanity. All Rights Reserved.