[squeak-dev] The Trunk: Monticello-cmm.521.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Aug 16 19:59:41 UTC 2012
Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.521.mcz
==================== Summary ====================
Name: Monticello-cmm.521
Author: cmm
Time: 16 August 2012, 2:55:31.736 pm
UUID: 833ce767-45cc-47f4-9472-00a892ba6a39
Ancestors: Monticello-cmm.520
- Fix MCFileBasedRepository>>#includesVersionNamed:.
- Fix access to non-FileBased repositories since #allPackageAndBranchNames was introduced.
=============== Diff against Monticello-cmm.520 ===============
Item was changed:
----- Method: MCFileBasedRepository>>includesVersionNamed: (in category 'versions') -----
+ includesVersionNamed: aString
+ | comparable |
+ comparable := ((aString endsWith: '.mcz') and: [ aString size > 4 ])
+ ifTrue:
+ [ aString
+ copyFrom: 1
+ to: aString size - 4 ]
+ ifFalse: [ aString ].
+ ^ self allVersionNames includes: comparable!
- includesVersionNamed: aString
- ^ self allVersionNames includes: aString asMCVersionName!
Item was added:
+ ----- Method: MCRepository>>allPackageAndBranchNames (in category 'packages') -----
+ allPackageAndBranchNames
+ "Currently this function is only supported by FileBased repositories."
+ ^ self allPackageNames!
More information about the Squeak-dev
mailing list
|