Squeak 4.6: TrunkScript-cmm.5.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Squeak 4.6: TrunkScript-cmm.5.mcz

commits-2
Chris Muller uploaded a new version of TrunkScript to project Squeak 4.6:
http://source.squeak.org/squeak46/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'''!