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
Chinese Saying about Children
The Dangers of Traveling near the Speed of Light
Does Global Warming Cause Earthquakes
Stopping the Middle East Conflicts
Subscribe to 
Main Menu
HOME
SAVE HUMANITY
(50)
HELP THE WORLD
(100)
IMPROVE GOVERNMENTS
(90)
PERSONAL DEVELOPMENT
(245)
COMPUTER HELP
(126)
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.
|