The Trunk: Monticello-bf.668.mcz

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

The Trunk: Monticello-bf.668.mcz

commits-2
Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.668.mcz

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

Name: Monticello-bf.668
Author: bf
Time: 11 April 2017, 4:24:04.47172 pm
UUID: 92bc365c-c14e-4ea0-af1f-8e1c822cdf49
Ancestors: Monticello-nice.667

Restore diff naming logic which got broken when MCVersionName was introduced

=============== Diff against Monticello-nice.667 ===============

Item was changed:
  ----- Method: MCDiffyVersion class>>nameForVer:base: (in category 'name utilities') -----
  nameForVer: versionName base: baseName
  | baseId |
+ baseId := versionName packageName = baseName packageName
+ ifFalse: [ '@' , baseName ]
+ ifTrue: [
+ versionName author = baseName author
+ ifTrue: [ baseName versionNumber asString ]
+ ifFalse: [ baseName author, '.', baseName versionNumber asString ] ].
- baseId := versionName = baseName
- ifTrue: [ baseName versionNumber asString ]
- ifFalse:
- [ versionName packageName = baseName packageName
- ifTrue: [ baseName author, '.', baseName versionNumber asString ]
- ifFalse: [ '@' , baseName ] ].
  ^ versionName versionName , '(' , baseId , ')'!