[squeak-dev] The Trunk: MonticelloConfigurations-dtl.178.mcz

commits at source.squeak.org commits at source.squeak.org
Wed May 11 21:01:02 UTC 2022


David T. Lewis uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-dtl.178.mcz

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

Name: MonticelloConfigurations-dtl.178
Author: dtl
Time: 11 May 2022, 5:01:01.588549 pm
UUID: 9a68881f-d5a1-4202-b8c9-f32485629ed7
Ancestors: MonticelloConfigurations-mt.177

When saving a configuration, use packageAndBranchName in the dialog box for suggested name of next version. Prevents accidental save to the 'update' stream when 'update.FOO' was intended for the FOO branch.

=============== Diff against MonticelloConfigurations-mt.177 ===============

Item was changed:
  ----- Method: MCConfiguration>>suggestedNameOfNextVersion (in category 'private') -----
  suggestedNameOfNextVersion
  	"Suggest a name for the next version of this configuration. The format is assumed to be name-authorInitials.version. Automatically increments the version, takes author initials from Utilities."
  	^'{1}-{2}.{3}' format: {
  		name
  			ifNil: [ 'newConfiguration' ]
+ 			ifNotNil: [ name asMCVersionName packageAndBranchName ].
- 			ifNotNil: [ name asMCVersionName packageName ].
  		Utilities authorInitials.
  		name
  			ifNil: [ 1 ]
  			ifNotNil: [ name asMCVersionName versionNumber + 1 ] }!



More information about the Squeak-dev mailing list