[squeak-dev] The Trunk: Installer-Core-cmm.348.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Apr 7 17:56:31 UTC 2011
Chris Muller uploaded a new version of Installer-Core to project The Trunk:
http://source.squeak.org/trunk/Installer-Core-cmm.348.mcz
==================== Summary ====================
Name: Installer-Core-cmm.348
Author: cmm
Time: 6 April 2011, 12:48:19.664 pm
UUID: 4776ef71-0a14-4605-a556-cc391ca9bdc2
Ancestors: Installer-Core-cmm.347
- Removed halt.
=============== Diff against Installer-Core-cmm.347 ===============
Item was changed:
----- Method: InstallerMonticello>>mcThing (in category 'monticello') -----
mcThing
| loader |
loader := self classMCVersionLoader new.
self logCR: 'reading ' , mc description , '...'.
"several attempts to read files - repository readableFileNames
sometimes fails"
self packages
do: [:pkg |
| versionNames fileToLoad version |
versionNames := mc versionNamesForPackageNamed:
(pkg asMCVersionName versionNumber = 0
ifTrue: [ "Just a package name specified, use it whole." pkg ]
ifFalse: [pkg asMCVersionName packageName]).
fileToLoad := versionNames
detect: (self mcDetectFileBlock: pkg)
ifNone: [ nil ].
- self halt.
fileToLoad
ifNotNil: [version := mc versionNamed: fileToLoad.
(version isKindOf: MCConfiguration)
ifTrue: [^ version]
ifFalse: [MCRepositoryGroup default addRepository: self normalizedRepository.
version workingCopy repositoryGroup addRepository: self normalizedRepository.
loader addVersion: version].
self logCR: ' found ' , version fileName , '...']].
^ loader!
More information about the Squeak-dev
mailing list
|