Search code examples
clearcaseclearcase-ucmcleartool

Clease case: Merge Manager: Error: Can't switch to baseline


In Clearcase Project Explorer, under the configuration tab of a feature stream, I select the main stream's recommended baseline and then do a rebase of the stream. This goes fine and then I do a recommend baseline. But when I rebase a child stream under this feature stream, I get the following error. Any idea whats wrong here?

The foundation configuration is invalid.
Switching to baseline "YYYYYYV50" of component "PPPP"
Switching to baseline "ZZZZZZZV50" of component "QQQQ"
Merge Manager: Error: Can't switch to baseline "TTTTTTT09V46"
of component "core" because the stream has made changes
based on the current baseline.

Solution

  • That means:

    • your component "core" is a composite component (it includes other component)
    • your composite baseline "TTTTTTT09V46" of "core" include other baselines
    • rebasing means changing the foundation baseline.

    If you have made any modification on one of the sub-components, you could only rebase it by a more recent foundation baseline produced on the parent Stream.
    So check if "TTTTTTT09V46" (and all the sub-baselines) have been created in the Feature Stream and are more recent than the foundation baseline used on the child stream.

    If non-modifiable components are involved, check if this isn't a bug called "parasite baseline", as detailed in the "Final warning" section of the answer on "ClearCase UCM - best practices using components".