http://howto.praqma.net/cc/ucmfaq/howto-merge-using-the-clearcase-merge-manager
ClearCase? > ? UCM FAQ? > ?
Howto merge using the ClearCase Merge manager
The ClearCase Merge Manager is an 'old' tool that was around even before UCM was even invented. Back in the old days the merge manager was the tool to use when you wanted to merge stuff from one branch to another.
In UCM the terminology has changed - you don't
merge branches anymore - you
deliver or rebase streams. But nevertheless the merge manager is still called for. Especially two scenarios makes it extremely useful - and your obvious choice of tool: To survive evil-twins when were talking about more than a few files and for merging colleagues work into your own unreserved checkouts when you are working on a Shared Stream.
Question
How can I use the merge manager to merge files in UCM?
|
Answer
To start the merge manager you go:
Start-> All Programs -> Rational Software -> Rational ClearCase -> ClearCase Merge Manager
Or you can simply type
clearmrgman at the command prompt or from the
Start -> Run box.
Scenario - Shared Stream
So startup the Merge manager as described above, or if you already have it open, hit
<CTRL+N> to start a new merge scenario.
1st step is then to select target view
In this case you should point out the view where you have your own unreserved checkouts (click on images to see them full size).
2nd step is to select the scope3rd step Select the source branch4th step - Search settings
Go with the default values - hit finish!
Last step - Find and merge elements
From here the merge manager will find and report elements to merge.
When you start the merge(s) you'll probably be prompted with at warning saying the files are checked out - "Do you want to check them in?"
Your merge diff tool will then start up a traditional 3-way merge scenario and your result will be in a file with a
.merge extension. When you are done with the merge and save and exit the diff tool the version that was in you view (you own unreserved checkout) will hve changed name to have a
.contrib extension and the merge result will now be you view-private checkout.
You're ready to check in!
|