[Pkg] The Trunk: Monticello-cmm.491.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 25 18:57:20 UTC 2012

Chris Muller uploaded a new version of Monticello to project The Trunk:

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

Name: Monticello-cmm.491
Author: cmm
Time: 15 December 2011, 1:54:06.122 pm
UUID: d852bc61-4ef2-4cee-92e4-eb91123c1ea6
Ancestors: Monticello-cmm.490

Fix for package renaming.

=============== Diff against Monticello-cmm.489 ===============

Item was changed:
  ----- Method: MCMethodDefinition>>handlePackageRename:to: (in category 'renaming') -----
  handlePackageRename: oldPackageName to: newPackageName 
  	"If I'm an extension or override method, rename the category to be prefixed with newPackageName."
  	((self isExtensionMethod or: [ self isOverrideMethod ]) and: [ (self category allButFirst beginsWith: newPackageName asLowercase) not ]) ifTrue:
  		[ self actualClass organization
  			renameCategory: self category
  				'*' ,
  						newCategoryNameFor: self category allButFirst
  						givenRenameFrom: oldPackageName
+ 						to: newPackageName) asLowercase ]!
- 						to: newPackageName) ]!

More information about the Packages mailing list