On Sat, Sep 5, 2015 at 7:00 PM, Martin Dias <[email protected]> wrote:
> Hi,
>
> I logged for which classes MCVersionReader >>
> fileReaderServicesForFile:suffix: is invoked:
>
> In Pharo 4:
>
> MCVersionReader class
> MCMczReader class
> MCMcmReader class
> MCMcdReader class
>
> In Pharo 5:
>
> MCVersionReader class
>
>
> and it should be MCMczReader who adds those services for the MCZ files.
>
> Note: I tried in Pharo 4, and the list of file services didn't change
> after removing MczInstaller.
>
>
>
>

I sent this email because I was starting to update the change of this
method:

useNewChangeSetDuring: aBlock
| changeHolder oldChanges newChanges |
changeHolder := (ChangeSet respondsTo: #newChanges:)
ifTrue: [ChangeSet]
ifFalse: [Smalltalk].
oldChanges := (ChangeSet respondsTo: #current)
ifTrue: [ChangeSet current]
ifFalse: [Smalltalk changes].

newChanges := ChangeSet new name: (ChangeSet uniqueNameLike: self
extractPackageName).
changeHolder newChanges: newChanges.
[aBlock value] ensure: [changeHolder newChanges: oldChanges].


to just assume that ChangeSet can respond to those messages, and then I
realized that there were no references to the whole class...


Martín

Reply via email to