[squeak-dev] How to remove doIts from cganges

Herbert König herbertkoenig at gmx.net
Fri Oct 26 13:44:59 UTC 2012


Am 26.10.2012 14:07, schrieb Hans-Martin Mosner:
>
> Of course there are cheaper ways. If you ask the right questions you
> might get the right answers :-)

:-))
> For one, you can condense the changes file (Smalltalk condenseChanges).
> That's quick and will remove all doIts from the changes file (remember
> to remove the renamed original changes file, otherwise your passwords
> will stay in that file).
I had some memory that at some time this didn't work properly in Squeak. 
When I condense changes and then try "browse recent changes" from a 
FileList i get: "this seems not to be a changes file".
After adding some doits to the changes the attempt to browse changes 
will open a debugger as
UTF8TextConverter class>>decodeByteString throws an Error "malformed input"
This is a Trunk 12164 derived image.
> You could also replace all occurrences of that password in the changes
> file by a string of equal size which contains just asterisks. That's a
> bit more work, but if you want to be able to look at method histories
> it's preferable to condenseChanges.
>

Thanks.


Herbert


More information about the Squeak-dev mailing list