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

commits at source.squeak.org commits at source.squeak.org
Sun Jul 5 17:05:52 UTC 2015


David T. Lewis uploaded a new version of MonticelloConfigurations to project Squeak 4.6:
http://source.squeak.org/squeak46/MonticelloConfigurations-dtl.136.mcz

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

Name: MonticelloConfigurations-dtl.136
Author: dtl
Time: 5 July 2015, 1:05:12.418 pm
UUID: ce452136-fc06-4d15-b41c-efd42ac6c0f8
Ancestors: MonticelloConfigurations-dtl.135

Only the default MCMcmUpdater should update the system version.

This fixes a condition in which loading a "head" package from SqueakMap using an update stream overwrote the system version.

=============== Diff against MonticelloConfigurations-dtl.135 ===============

Item was changed:
  ----- Method: MCMcmUpdater>>updateFrom: (in category 'updating') -----
  updateFrom: url
+ 	"Update the image by loading all pending updates from the server. If this is
+ 	the default updater for the system, update the system version when complete."
- 	"Update the image by loading all pending updates from the server."
  	| config |
  	"Flush all caches. If a previous download failed this is often helpful"
  	MCFileBasedRepository flushAllCaches.
  	config := self updateFromRepositories: { url }.
  	config ifNil: [^self inform: 'Unable to retrieve updates from remote repository.' translated].
+ 	MCMcmUpdater default == self
+ 		ifTrue: [	config setSystemVersion.
+ 			self inform: ('Update completed.
+ Current update number: ' translated, SystemVersion current highestUpdate).]
+ 		ifFalse: [self inform: 'Update completed.']
+ 	!
- 	config setSystemVersion.
- 	self inform: ('Update completed.
- Current update number: ' translated, SystemVersion current highestUpdate).!



More information about the Squeak-dev mailing list