links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 7:13 pm UTC on 17 August 2020
 Object subclass: #MCPackageManager
	instanceVariableNames: 'package modified'
	classVariableNames: ''
	poolDictionaries: ''
	category: 'Monticello-Versioning'

No class comment, what it it doing?

Subclass is MCWorkingCopy

From: Bert Freudenberg <bert@freudenbergs.de>
Date: Wed, 27 Feb 2013 15:22:04 +0100
Subject: Re: [squeak-dev] The Trunk: ReleaseBuilder-fbs.93.mcz
To: The general-purpose Squeak developers list

On 2013-02-27, at 12:12, Frank Shearar <frank.shearar@gmail.com> wrote:

> At any rate, this is half of my proposal. I haven't yet actually
> stripped anything out of Trunk, mainly because I'm unsure how. I think
> I need to take a clean, updated image and run a script on it, and at
> the moment don't know what that script looks like. Maybe this?:

       (MCWorkingCopy allManagers select:
>               [:mgr | #('Foo' 'Bar' 'Baz') includes: mgr packageName ])
>                       do: [:wc | wc unload].

Or perhaps

#('Foo' 'Bar' 'Baz') do: [:pkgName | | pkg |
        pkg := MCPackage named: pkgName.
        pkg hasWorkingCopy ifTrue: [pkg unload]].

>       WorldState addDeferredUIMessage: [ SmalltalkImage current snapshot:
> false andQuit: true ].

No snapshot?

- Bert -