[Pkg] The Trunk: Monticello-cmm.430.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 15 19:18:05 UTC 2011


Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.430.mcz

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

Name: Monticello-cmm.430
Author: cmm
Time: 5 March 2011, 4:40:45.396 pm
UUID: 0677ff6c-bba0-4414-8fad-08117baea448
Ancestors: Monticello-cmm.429

Fixed bug in MCDiffyVersion class>>nameForVer:base:.

=============== Diff against Monticello-cmm.429 ===============

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



More information about the Packages mailing list