The Trunk: MonticelloConfigurations-mt.165.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-mt.165.mcz

commits-2
Marcel Taeumel uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-mt.165.mcz

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

Name: MonticelloConfigurations-mt.165
Author: mt
Time: 4 March 2021, 4:48:08.507431 pm
UUID: bc7f26e0-4549-cc43-9e87-b1e9dd0c96d0
Ancestors: MonticelloConfigurations-mt.164

Adds a safe guard to not overwrite existing configurations in the update map by accident.

=============== Diff against MonticelloConfigurations-mt.164 ===============

Item was changed:
  ----- Method: MCConfigurationBrowser>>completeStoreAction (in category 'actions') -----
  completeStoreAction
  "The store method will arrange for this to be called after the user has entered
  a comment for the configuration version being stored."
  self activeEditWindow: nil. "Close the editor window"
  self pickRepository
  ifNotNil: [:repo |
  configuration authorInitials: Utilities authorInitials.
  configuration timeStamp: (DateAndTime fromSeconds: DateAndTime now asSeconds) printString.
  configuration id: UUID new asString.
+ (repo includesVersionNamed: configuration name)
+ ifTrue: [self notify: ('The configuration does already exist in the repository you specified. If you proceed, it will be overwritten.\\Repository: {1}\Configuration: {2}\\Do you want to proceed anyway?' translated withCRs format: { repo description. configuration name })].
  repo storeVersion: configuration.
  self inform: 'Saved ', configuration name]!