The Trunk: SMBase-cmm.141.mcz

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

The Trunk: SMBase-cmm.141.mcz

commits-2
Chris Muller uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-cmm.141.mcz

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

Name: SMBase-cmm.141
Author: cmm
Time: 15 April 2019, 9:12:33.599161 pm
UUID: 3a337c87-d640-48e6-8b6f-8944694d6942
Ancestors: SMBase-cmm.140

Fix SMPackageRelease>>#newerThan: to account for the possibility that the automaticVersion's its comparing might be from different branches, which can't be compared via #<.

=============== Diff against SMBase-cmm.140 ===============

Item was changed:
  ----- Method: SMPackageRelease>>newerThan: (in category 'testing') -----
+ newerThan: aRelease
- newerThan: aRelease
  "Answer if this release was made after <aRelease>."
+ ^ (aRelease automaticVersion inSameBranchAs: automaticVersion)
+ ifTrue: [ aRelease automaticVersion < automaticVersion ]
+ ifFalse: [ aRelease automaticVersion numbers first > automaticVersion numbers first ]!
-
- ^aRelease automaticVersion < automaticVersion!