[squeak-dev] The Trunk: Monticello-dtl.417.mcz
Levente Uzonyi
leves at elte.hu
Wed Jan 12 12:26:01 UTC 2011
On Wed, 12 Jan 2011, commits at source.squeak.org wrote:
> David T. Lewis uploaded a new version of Monticello to project The Trunk:
> http://source.squeak.org/trunk/Monticello-dtl.417.mcz
>
> ==================== Summary ====================
>
> Name: Monticello-dtl.417
> Author: dtl
> Time: 11 January 2011, 11:49:59.112 pm
> UUID: 3af332d1-8df0-4aed-85fa-5135e81b1dde
> Ancestors: Monticello-bp.416
>
> When a package is unloaded, any subpackages will also be removed, so unregister the MCWorkingCopies for these subpackages after the removal.
So if I have a package named PackageX and I want to split it to
PackageX-Core and PackageX-Tests, then after moving all code to the new
packages and removing the empty PackageX all my code will be gone?
Levente
>
> =============== Diff against Monticello-bp.416 ===============
>
> Item was added:
> + ----- Method: MCPackageManager>>unregisterSubpackages (in category 'operations') -----
> + unregisterSubpackages
> + (self class registry keys
> + select: [:p | self packageName , '-*' match: p name])
> + do: [:k | self class registry removeKey: k]!
>
> Item was changed:
> ----- Method: MCWorkingCopy>>unload (in category 'operations') -----
> unload
> MCPackageLoader unloadPackage: self package.
> + self unregisterSubpackages.
> self unregister.!
>
>
>
More information about the Squeak-dev
mailing list
|