Search code examples
clearcase

How to undo a merge of file in ClearCase?


I was experimenting in the ClearCase merge manager and mistakenly merged one file to another file (which turned out to be parent of the file).

I want to revert it back now.

How to cancel that merge for that specific file?


Solution

  • All you need to do, if you haven't yet completed the merge is to:

    • undo checkout the merged checked out version in the destination view (the view used to make the merge)
    • relaunch the merge manager.

    You will see that, during the second execution of the merge manager:

    • any version already merged will directly be displayed as merged
    • the version you undo checked out will again be listed as to be merged.