[Pkg] The Trunk: TrunkScript-cmm.5.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Mar 17 03:54:11 UTC 2011
Chris Muller uploaded a new version of TrunkScript to project The Trunk:
http://source.squeak.org/trunk/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.
=============== Diff against TrunkScript-cmm.4 ===============
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) ].
- 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 Packages
mailing list