[squeak-dev] Re: ditching Monticello objects.

Andreas Raab andreas.raab at gmx.de
Fri Feb 13 01:27:55 UTC 2009


Keith Hodges wrote:
> MC1.5 has a "trim ancestry" menu item in the right hand column of the
> monticello browser. To get the ancestry back just reload the package, so
> it is really redundant in a deployed image.

Or programatically:

	MCWorkingCopy allInstancesDo: [ : wc |
		wc ancestry ifNotNil: [
			wc ancestry trimAfterVersionInfo: (wc ancestry).
		]].
	MCFileBasedRepository flushAllCaches.

We also use this for deployment:

	PartsBin initialize.  "I.e. without all the thumbnailing registries."
	PaintBoxMorph initialize.
	(PaintBoxMorph bindingOf: #Prototype) value: nil "Hangs on to a bunch 
of color forms"

Cheers,
   - Andreas



More information about the Squeak-dev mailing list