The Trunk: Monticello-nice.386.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-nice.386.mcz

commits-2
Nicolas Cellier uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-nice.386.mcz

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

Name: Monticello-nice.386
Author: nice
Time: 31 March 2010, 10:34:46.052 pm
UUID: 3a966ee1-b9a3-45e0-b477-abe033aa6f18
Ancestors: Monticello-ar.385

Fix http://bugs.squeak.org/view.php?id=7487
1) The package-cache did store as nil
2) The file was not closed

=============== Diff against Monticello-ar.385 ===============

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>saveRepositories (in category 'actions') -----
  saveRepositories
+ FileStream forceNewFileNamed: 'MCRepositories.st' do: [:f |
+ MCRepositoryGroup default repositoriesDo: [:r |
+ r asCreationTemplate ifNotNil: [:template |
+ f nextPutAll: 'MCRepositoryGroup default addRepository: (', template , ')!!'; cr]]]!
- | f |
- f := FileStream forceNewFileNamed: 'MCRepositories.st'.
- MCRepositoryGroup default repositoriesDo: [:r |
- f nextPutAll: 'MCRepositoryGroup default addRepository: (', r asCreationTemplate, ')!!'; cr.]!