The Trunk: Monticello-bf.534.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.534.mcz

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

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

Name: Monticello-bf.534
Author: bf
Time: 25 March 2013, 4:04:22.764 pm
UUID: c45273fb-83e7-4fa8-b8e7-6c12120c0c49
Ancestors: Monticello-nice.533, Monticello-cg.529

Merge Monticello-cg.529:
allow colons and slashes in a package's name (MCVersion generated an invalid filename for those).
Needed to be able to load monticello packages as written by ST/X. (Does not affect squeak/pharo operation, as those packages do not normally contain such characters)

=============== Diff against Monticello-nice.533 ===============

Item was changed:
  ----- Method: MCVersion>>fileName (in category 'accessing') -----
  fileName
+ |rawName cookedName|
+
+ rawName := info name.
+ "care for invalid filename characters"
+ cookedName := rawName copy
+ replaceAll: $/ with: $_;
+ replaceAll: $: with: $_..
+ ^ (cookedName, '.', self writerClass extension) asMCVersionName!
- ^ (info name, '.', self writerClass extension) asMCVersionName!