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 Find Merges Needed


    If you ever need to determine if you need to merge two versions together, then execute this "findmerge" command in ClearCase.

    cleartool findmerge "ELEMENT_PATH" -fversion FROM_VERSION -directory -print -short

    The "MERGE TO" version is whatever version that your View's config spec is set to access. If the command outputs nothing, then no merge is necessary. Otherwise, if the command outputs a merge is necessary, then proceed with the upmerge.

    Here is an example of this command in action:

    cleartool findmerge "filename.txt" -fversion /main/branch/5 -directory -print -short

    The output would look something like this:

    Needs Merge "filename.txt" [to /main/3 from /main/branch/5
    base /main/2]

    I recommend that you play around with this command to get use to all the possible options and arguments.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Merge
     » ClearCase Support: Drawing a Merge Arrow
     » ClearCase Support: How to Find Checked Out Elements







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