[squeak-dev] Squeak 4.6: MonticelloConfigurations-dtl.139.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Oct 11 01:51:13 UTC 2015

David T. Lewis uploaded a new version of MonticelloConfigurations to project Squeak 4.6:

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

Name: MonticelloConfigurations-dtl.139
Author: dtl
Time: 10 October 2015, 9:49:50.558 pm
UUID: 2f42a23f-99ef-48d0-a0eb-9ec51dd31cde
Ancestors: MonticelloConfigurations-topa.138

Fix default update map name access so preference is displayed correctly

=============== Diff against MonticelloConfigurations-dtl.137 ===============

Item was changed:
  ----- Method: MCMcmUpdater class>>default (in category 'instance creation') -----
  	"The default instance for system updates. Uses a default update map
  	name that may be set as a preference to enable a specific update stream
  	for a repository."
  	^ self updaters
  		at: self defaultUpdateURL
+ 		ifAbsentPut: [self updateMapNamed: 'update' ]!
- 		ifAbsentPut: [self updateMapNamed: self updateMapName]!

Item was changed:
  ----- Method: MCMcmUpdater class>>initialize (in category 'class initialization') -----
  	"MCMcmUpdater initialize"
  	DefaultUpdateURL ifNil:[
  		DefaultUpdateURL := MCHttpRepository trunkUrlString.
+ 	"Call
+ 		MCMcmUpdater resetUpdaters
+ 	manually if necessary"!
- 	Updaters := nil.
- !

Item was added:
+ ----- Method: MCMcmUpdater class>>resetUpdaters (in category 'class initialization') -----
+ resetUpdaters
+ 	Updaters := nil.!

Item was changed:
  ----- Method: MCMcmUpdater class>>updateMapName (in category 'preferences') -----
  	"The default update map name"
  	<preference: 'Update map name'
  		category: 'updates'
  		description: 'Base name for the update maps'
  		type: #String>
+ 	^ self default updateMapName
+ !
- 	^ 'update'!

More information about the Squeak-dev mailing list