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

  • How to Help Humanity
  • Why Economists Miss the Mark
  • Daylight Saving Time
  • Natural Log Proof
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (42)
  • HELP THE WORLD (96)
  • IMPROVE GOVERNMENTS (87)
  • PERSONAL DEVELOPMENT (238)
  • COMPUTER HELP (125)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: How to Lock a Label


    Whenever creating a label that you want to permanently keep and prevent other users from modifying the label or deleting any labeled version, then the only option is to lock the label type. This can be easily done using this simple command:

    cleartool lock lbtype:LABEL_NAME

    Keep in mind that you have to lock the label 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 lbtype:LABEL_NAME@vob:VOB_TAG

    Furthermore, I recommend immediately locking the label type after creating the label type but before actually labeling any versions. Using this method, no other user can modify your label as your are labeling. To do so, you must lock the label type while specifying 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, lbtype:LABEL_NAME

    The USERID argument should at least include your core id.

    by Phil B.

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







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