<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        I hope there wouldn't be a conflict if the update map would have been updated for the changed postscript? In that case: Thanks for this tip! I will try to either only append stuff to the postscript or update the update map if I also remove stuff. Well, can the merger actually merge append-only things?<div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 29.12.2021 21:18:25 schrieb christoph.thiede@student.hpi.uni-potsdam.de <christoph.thiede@student.hpi.uni-potsdam.de>:</p><div style='font-family:Arial,Helvetica,sans-serif'>
Hi all,<br>
<br>
I now saw this at least for the second time: While updating an older Trunk image to the latest Trunk version, a merge conflict for the postscript of a package needs to be resolved. In my example, Morphic-mt.1801 is being merged into an image with Morphic-ct.1789 with an empty working copy. In [] in MCThreeWayMerger>>modifyDefinition:to:, the three (!) different versions of the script look like this:<br>
<br>
<b>baseDefinition</b><br>
    <span style="color: #000000">SystemProgressMorph</span><span style="color: #000000"> </span><span style="color: #000080">reset</span><span style="color: #000000">.</span><span style="color: #000000"> </span><span style="color: #008080">"New layer number"</span><br>
<br>
<b>targetDefinition</b><br>
    <span style="color: #000000">SystemProgressMorph</span><span style="color: #000000"> </span><span style="color: #000080">reset</span><span style="color: #000000">.</span><span style="color: #000000"> </span><span style="color: #008080">"New layer number"</span><span style="color: #000000"><br>
    <br>
    </span><span style="color: #008080">"Morphic-ct.1796 - Inverts the preference 'halo encloses full bounds' by pressing the control key while invocating a halo."</span><span style="color: #000000"><br>
    </span><span style="color: #000000">(</span><span style="color: #000000">Preferences</span><span style="color: #000000"> </span><span style="color: #000080">preferenceAt:</span><span style="color: #000000"> </span><span style="color: #000080">#haloEnclosesFullBounds</span><span style="color: #000000">)</span><span style="color: #000000"> </span><span style="color: #000080">instVarNamed:</span><span style="color: #000000"> </span><span style="color: #800080">'helpString'</span><span style="color: #000000"> </span><span style="color: #000080">put:</span><span style="color: #000000"> </span><span style="color: #800080">'If enabled, halos will enclose the full bounds of the target morph, rather than just the bounds.     You can also invert this behavior temporarily by holding down Ctrl while invoking a halo on a morph.'</span><span style="color: #000000">.</span><br>
<br>
<b>other</b><br>
    <span style="color: #000000">TextEditor</span><span style="color: #000000"> </span><span style="color: #000080">withAllSubclassesDo:</span><span style="color: #000000"> </span><span style="color: #000000">[</span><span style="color: #000000">:</span><span style="color: #000080">editor</span><span style="color: #000000"> </span><span style="color: #808080">|</span><span style="color: #000000"> </span><span style="color: #000080">editor</span><span style="color: #000000"> </span><span style="color: #000080">initialize</span><span style="color: #000000">]</span><span style="color: #000000">.</span><span style="color: #000000"> </span><span style="color: #008080">"recreate menu morphs to update their morphic layer number"</span><br>
<br>
I am unsure what would be the right way to fix this issue. Can we assume that the former script has already been run and always choose other? Or do we need to run both target and other? As (update stream) postscripts *should* be idempotent, could we just append some of the postscripts - e.g., by adding some extra logic to the exception handler in MCConfiguration >> #upgrade? Or where else are we missing a piece of logic?<br>
<br>
Best,<br>
Christoph<br>
<br>
<span style="color: #808080">---<br>
</span><span style="color: #808080"><i>Sent from </i></span><span style="color: #808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></span>
</div></blockquote>
                                        </div></body>