[squeak-dev] The Trunk: Monticello-cmm.583.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jan 23 04:50:02 UTC 2014


Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.583.mcz

==================== Summary ====================

Name: Monticello-cmm.583
Author: cmm
Time: 22 January 2014, 10:49:02.507 pm
UUID: 12acca8d-1106-4c62-ba9d-d0e634a9803e
Ancestors: Monticello-fbs.582

MCWorkingCopy class>>#cleanUp don't remove the MCMock categories, because it causes all manner of the MC tests to fail for only saving two PackageInfo objects.

=============== Diff against Monticello-fbs.582 ===============

Item was added:
+ ----- Method: MCWorkingCopy class>>cleanUp (in category 'class initialization') -----
+ cleanUp 
+ 	self
+ 		 stubAllAncestry ;
+ 		 flushObsoletePackageInfos!

Item was removed:
- ----- Method: MCWorkingCopy class>>cleanUp: (in category 'class initialization') -----
- cleanUp: aggressive 
- 	"Remove all PackageInfos that are not associated with an MCWorkingCopy when aggressively cleaning up"
- 	self stubAllAncestry.
- 	aggressive ifTrue: [ self flushObsoletePackageInfos ]!

Item was changed:
  ----- Method: MCWorkingCopy class>>flushObsoletePackageInfos (in category 'cleanup') -----
  flushObsoletePackageInfos
+ 	PackageOrganizer default flushObsoletePackages: [ : eachPackageInfo | eachPackageInfo class isObsolete ]!
- 	"Flush any and all PackageInfos that are not associated with an MCWorkingCopy."
- 
- 	| pkgNames |
- 	pkgNames := self allManagers collect:[:wcs| wcs packageName] as: Set.
- 	PackageOrganizer default flushObsoletePackages:[:p|
- 		p class isObsolete or:[(pkgNames includes: p packageName) not].
- 	].!



More information about the Squeak-dev mailing list