The Trunk: MonticelloConfigurations-dtl.136.mcz

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

The Trunk: MonticelloConfigurations-dtl.136.mcz

commits-2
David T. Lewis uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/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).!