[squeak-dev] squeak fu for deleted methods

Marcel Taeumel marcel.taeumel at hpi.de
Wed May 27 14:35:10 UTC 2020


Hi Subbu.

> The .changes file does not contain the version history of packages loaded through Monticello :-(.

Ah, you are looking for non-local versions. Anyway, you could load all those older VMMaker versions one after another to populate the .changes file. The you can update your Trunk image because "Tools-mt.970" added method recovery for the local .changes file. Should be in the "Extras" menu below "Recover changes".

Maybe it helps.

Best,
Marcel
Am 27.05.2020 16:15:31 schrieb K K Subbu <kksubbu.ml at gmail.com>:
Marcel,

The .changes file does not contain the version history of packages
loaded through Monticello :-(.

While catching up with old Squeak discussions[1], I came across

Interpreter translate: 'Interp.c' doInlining: false

this method was deleted in VMMaker sometime before Squeak 3.8. This is
when it struck me that deletion is not like other changes. Neither
ChangeSorter nor Monticello had a facility to search patch history for
strings :-(.

I am felt too lazy to bisect all changesets in VMMaker from that far
back. Perhaps there must be an easier way. Hence my question.

[1] http://files.squeak.org/mail/9705.html

On 27/05/20 6:38 pm, Marcel Taeumel wrote:
> Hi Subbu.
>
> Code for that exists in the context of change sets. The regular
> ChangeSorter can show versions for deleted methods that are still in the
> change set. It's in the context menu. Also, "Recover Changes" (Extras
> menu) uses a maybe similar code path via ChangeList >> #browseRecentLog.
>
> > without manually bisecting every changeset in a package?
>
> Ah, so you know about the ChangeSorter. Would be interesting to put
> "look for selector in .changes file" into a menu. :-)
>
> Best,
> Marcel
>>
>> Am 27.05.2020 14:07:02 schrieb K K Subbu :
>>
>> Hi,
>>
>> The version button in Browser is useful for methods which are displayed
>> in the method pane. What about methods which have been deleted?
>>
>> E.g. How can I find the changeset/version which deleted a method, say
>> #translate:doInlining: without manually bisecting every changeset in a
>> package?
>>
>> Thanks in advance .. Subbu
>>
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200527/b7592b75/attachment.html>


More information about the Squeak-dev mailing list