[squeak-dev] The Trunk: Monticello-ct.756.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 30 16:18:57 UTC 2021


Marcel Taeumel uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ct.756.mcz

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

Name: Monticello-ct.756
Author: ct
Time: 2 November 2021, 2:05:38.669566 pm
UUID: 9d6301ac-f912-a742-8779-225931a59ba5
Ancestors: Monticello-ul.753

Honor the preference #checkForNewerVersionsBeforeSave again, which was previously unused.

=============== Diff against Monticello-ul.753 ===============

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>saveVersion (in category 'actions') -----
  saveVersion
  	| repo |
  	self canSave ifFalse: [^self].
+ 	self class checkForNewerVersionsBeforeSave ==> [self checkForNewerVersions] ifFalse: [^self].
- 	self checkForNewerVersions ifFalse: [^self].
  	repo := self repository.
  	(repo == MCRepository trunk and: [SystemVersion current isFeatureFreeze])
  		ifTrue: [self inform: 'FEATURE FREEZE. A new release is being prepared.\Please do only do bugfixes, but no new features.' translated withCRs].
  	(repo == MCRepository trunk and: [SystemVersion current isCodeFreeze])
  		ifTrue: [self inform: 'CODE FREEZE. The new release is almost ready.\Please do only do URGENT fixes, if any.' translated withCRs].
  				
  	(self withRepository: repo do: [workingCopy newVersion]) ifNotNil:
  		[:v |
  		(MCVersionInspector new version: v) show.
  		Cursor wait showWhile: [repo storeVersion: v].
  		MCCacheRepository default cacheAllFileNamesDuring: 
  			[repo cacheAllFileNamesDuring: 
  				[v allAvailableDependenciesDo:
  					[:dep |
  					(repo includesVersionNamed: dep info name)
  						ifFalse: [repo storeVersion: dep]]]]]!



More information about the Squeak-dev mailing list