Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.601.mcz==================== Summary ====================
Name: Monticello-bf.601
Author: bf
Time: 9 October 2014, 9:20:50.628 am
UUID: 3f294c63-d2cd-4517-b480-f9fbbb882ea6
Ancestors: Monticello-topa.600
Do not warn about possibly newer versions on different branch (e.g. VMMaker.oscog)
=============== Diff against Monticello-topa.600 ===============
Item was changed:
----- Method: MCRepository>>possiblyNewerVersionsOfAnyOf: (in category 'versions') -----
possiblyNewerVersionsOfAnyOf: versionNames
"Answer a collection of MCVersionNames which might be newer versions of the versions identified by versionNames."
^self cacheAllFileNamesDuring: [
versionNames
inject: OrderedCollection new
into:
[ : coll : eachVersionName | | eachPackageName |
+ eachPackageName := eachVersionName packageAndBranchName.
- eachPackageName := eachVersionName packageName.
(self versionNamesForPackageNamed: eachPackageName) do:
+ [ : eachInSelf | (eachPackageName = eachInSelf packageAndBranchName and: [
+ eachInSelf versionNumber > eachVersionName versionNumber or:
+ [ eachInSelf versionNumber = eachVersionName versionNumber and: [ eachInSelf author ~= eachVersionName author ] ] ]) ifTrue: [ coll add: eachInSelf ] ].
- [ : eachInSelf | (eachInSelf versionNumber > eachVersionName versionNumber or:
- [ eachInSelf versionNumber = eachVersionName versionNumber and: [ eachInSelf author ~= eachVersionName author ] ]) ifTrue: [ coll add: eachInSelf ] ].
coll ] ]!