[squeak-dev] Squeak 4.5: TrunkScript-cmm.5.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 24 20:18:20 UTC 2014


Chris Muller uploaded a new version of TrunkScript to project Squeak 4.5:
http://source.squeak.org/squeak45/TrunkScript-cmm.5.mcz

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

Name: TrunkScript-cmm.5
Author: cmm
Time: 16 March 2011, 10:54:07.164 pm
UUID: 6e38e09d-571f-49c3-8249-50e28d72bf8e
Ancestors: TrunkScript-cmm.4

Fixed syntax error.

==================== Snapshot ====================

(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