[squeak-dev] The Trunk: Monticello-mt.641.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 1 13:12:38 UTC 2016


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

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

Name: Monticello-mt.641
Author: mt
Time: 1 August 2016, 3:12:22.642063 pm
UUID: 6e5db234-d1b0-1544-b633-dfd20aead82a
Ancestors: Monticello-mt.640

If we are in feature-freeze or code-freeze, inform the developer when committing to the trunk repository.

=============== Diff against Monticello-mt.640 ===============

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>saveVersion (in category 'actions') -----
  saveVersion
  	| repo |
  	self canSave 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