pruning older versions of a method

Stéphane Rollandin hepta at zogotounga.net
Wed Mar 13 17:32:23 UTC 2002


At 18:15 13/03/02, you wrote:
> >is there a way to have a class automatically scanned so that only the more
> >recent version of each of its methods is kept ?
>
>If you mean only the current version, then YES, just evaluate
>
>         Smalltalk condenseChanges
>
>If you mean the current plus the most recent older version, then NO.
>
>But.. why bother? Are you running out of disk space?


not quite, but some of my methods have dozens of useless versions with ugly 
syntax errors and stupid code, as I just started to learn Smalltalk. I felt 
like cleaning all of this: more a psychological need than anything else :)


Stef




More information about the Squeak-dev mailing list