[squeak-dev] The Trunk: Monticello-bf.459.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 20 12:49:28 UTC 2011


Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.459.mcz

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

Name: Monticello-bf.459
Author: bf
Time: 20 April 2011, 2:48:56.685 pm
UUID: ddaea4ed-5d03-402f-ab3e-81ce8b561796
Ancestors: Monticello-cmm.458

Fix highlighting of versions in repository browser as reported by Nicolas: It got thrown off by differing versions with the same name. Now use id instead of name.

=============== Diff against Monticello-cmm.458 ===============

Item was changed:
  ----- Method: MCRepositoryInspector>>identifyLoadedAndInherited: (in category 'morphic ui') -----
  identifyLoadedAndInherited: aMCWorkingCopy 
+ 	| seen |
+ 	seen := Set new.
  	aMCWorkingCopy ancestors do:
  		[ : ancestor | loaded add: ancestor versionName.
+ 		seen add: ancestor.
  		ancestor ancestorsDoWhileTrue:
+ 			[ : heir | (seen includes: heir)
- 			[ : heir | (inherited includes: heir name)
  				ifTrue: [ false ]
  				ifFalse:
+ 					[ inherited add: heir versionName.
+ 					seen add: heir.
- 					[ inherited add: heir name asMCVersionName.
  					true ] ] ]!




More information about the Squeak-dev mailing list