unloadAllKnownPackages

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

unloadAllKnownPackages

Bert Freudenberg
Running this in trunk leaves some empty MCWorkingCopies behind:

* Help-Squeak-Project
* Help-Squeak-TerseGuide
* HelpSystem-Core
* HelpSystem-Tests

Would be nice if the unloading process removed those too, it confused me for a second.

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: unloadAllKnownPackages

David T. Lewis
On Tue, Jan 11, 2011 at 03:22:32PM +0100, Bert Freudenberg wrote:
> Running this in trunk leaves some empty MCWorkingCopies behind:
>
> * Help-Squeak-Project
> * Help-Squeak-TerseGuide
> * HelpSystem-Core
> * HelpSystem-Tests
>
> Would be nice if the unloading process removed those too, it confused me for a second.

This is a side effect of the registry in MCPackageManager (class instance
variable) that leaves orphaned cache entries after removing a package
with subpackages that may have been cached in the registry. Hopefully
fixed in Monticello-dtl.417.

Dave