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 Delete Branches and Branch Types


    Here is the command to delete a branch.

    cleartool rmbranch –nc –force ELEMENT_PATH@@FULL_BRANCH_PATH

    For instance, if you wanted to delete the /test/ branch and the branch was branched from the /main/ branch on the file "/vob/test/a.txt", then here is the command.

    $ cleartool rmbranch –nc –force /vob/test/a.txt@@/main/test

    Alternatively, here is the command to delete an entire branch type. In other words, you wanted to delete all the branches with a certain branch name as well as deleting the branch name.

    cleartool rmtype –rmall –force brtype:BRANCH_TYPE_NAME

    Keep in mind, this will delete the branch type in only one VOB at a time, so you have to run this command once in each VOB that you want the branch type deleted.

    by Phil B.

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







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