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

  • Working at Big Companies
  • Companies are Taking Over the World
  • Hyper-Critical
  • Nuclear Power Plants
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (35)
  • HELP THE WORLD (84)
  • IMPROVE GOVERNMENTS (69)
  • PERSONAL DEVELOPMENT (177)
  • COMPUTER HELP (37)
  • ARCHIVE (all articles)
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Renaming Label and Branch Types


    Do you want to rename a label or branch on all files or elements that have it? Well, you can rename a label type or branch type for an entire VOB with a single command.

    Here is an example. Let's say you want to rename a label type called "OLD" to become "NEW", then this is the command that you would use:

    $ cleartool rename lbtype:OLD lbtype:NEW

    Alternatively, you can run this similiar command to rename branch types too:

    $ cleartool rename brtype:OLD brtype:NEW

    If the label or branch exists in more than one VOB, then you have to run this command in each VOB that it exists in.

    Also, these commands will not work if the label or branch type is locked by someone else, so you will need an administrator to unlock the label and branch types first.

    If you have any other ClearCase questions, please do not hestitate to contact me for free advice.

    by Phil B.

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







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