[squeak-dev] The Trunk: Monticello-cmm.435.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 15 19:19:29 UTC 2011


Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.435.mcz

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

Name: Monticello-cmm.435
Author: cmm
Time: 7 March 2011, 9:44:44.446 pm
UUID: e87006c8-b154-40c4-b5da-88224c12cc53
Ancestors: Monticello-cmm.434

Keep old behavior when opening a repository with no working-copy selected; select the first package so it doesn't have to populate a full version list.

=============== Diff against Monticello-cmm.434 ===============

Item was changed:
  ----- Method: MCRepositoryInspector>>setRepository:workingCopy: (in category 'initialize-release') -----
  setRepository: aFileBasedRepository workingCopy: aWorkingCopy 
  	order := self class order.
  	repository := aFileBasedRepository.
  	self refresh.
+ 	aWorkingCopy
+ 		ifNil: [ self packageSelection: 1 ]
+ 		ifNotNil:
+ 			[ selectedPackage := aWorkingCopy ancestry ancestors ifNotEmpty:
+ 				[ : ancestors | ancestors anyOne name asMCVersionName packageName ] ].
- 	aWorkingCopy ifNotNil:
- 		[ selectedPackage := aWorkingCopy ancestry ancestors ifNotEmpty:
- 			[ : ancestors | ancestors anyOne name asMCVersionName packageName ] ].
  	MCWorkingCopy addDependent: self!




More information about the Squeak-dev mailing list