[squeak-dev] The Trunk: TrunkScript-cmm.4.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 17 03:50:11 UTC 2011

Chris Muller uploaded a new version of TrunkScript to project The Trunk:

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

Name: TrunkScript-cmm.4
Author: cmm
Time: 16 March 2011, 10:50:07.364 pm
UUID: 44ebf997-9331-4fd5-b444-afbd0cec05ca
Ancestors: TrunkScript-cmm.3

- also need to get all VersionInfo's names converted.

=============== Diff against TrunkScript-cmm.3 ===============

Item was changed:
  (PackageInfo named: 'TrunkScript') preamble: '"below, add code to be run before the loading of this package"
  (Installer repository: ''http://source.squeak.org/trunk'')
  	install: ''Monticello-cmm.439'' ;
  	install: ''MonticelloConfigurations-cmm.89''.
  "Convert cached file-names to new MCVersionName so comparisons work properly."
  MCRepositoryGroup default repositoriesDo: 
  	[ : each | (each isKindOf: MCFileBasedRepository) 
  		ifTrue: [ each instVarNamed: ''allFileNames'' put: (each allFileNames) ] ].
+ "We also need to get all VersionInfo''s names converted."
+ MCVersionInfo allInstances do: [ : each | (each instVarNamed: ''name'' put: (each name asMCVersionName) ].
  "Although the new Monticello has been loaded, we still have the cbc 8/25/2010 09:13 version of MCMcmUpdater class>>#updateFromRepositories: executing on the stack.  That version of the method needs this old method.  Compile it back."
  MCFileBasedRepository compile: ''versionFromFileNamed: aString
  	| v |
  	v := self cache at: aString ifAbsent: [self loadVersionFromFileNamed: aString].
  	self resizeCache: cache.
  	(v notNil and: [v isCacheable]) ifTrue: [cache at: aString put: v].
  	^ v'''!

More information about the Squeak-dev mailing list