[squeak-dev] The Trunk: Monticello-bf.390.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 18 22:50:17 UTC 2010

Bert Freudenberg uploaded a new version of Monticello to project The Trunk:

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

Name: Monticello-bf.390
Author: bf
Time: 19 April 2010, 12:49:33.65 am
UUID: b6e01813-7911-4ba0-818a-b9e70b97d4de
Ancestors: Monticello-bf.389

- make sure the version info id in a dictionary is a string

=============== Diff against Monticello-bf.389 ===============

Item was changed:
  ----- Method: MCWorkingCopy class>>infoFromDictionary:cache: (in category 'as yet unclassified') -----
  infoFromDictionary: aDictionary cache: cache
  	| id |
+ 	id := (aDictionary at: #id) asString.
- 	id := aDictionary at: #id.
  	^ cache at: id ifAbsentPut:
  			name: (aDictionary at: #name ifAbsent: [''])
  			id: (UUID fromString: id)
  			message: (aDictionary at: #message ifAbsent: [''])
  			date: ([Date fromString: (aDictionary at: #date)] ifError: [nil])
  			time: ([Time fromString: (aDictionary at: #time)] ifError: [nil])
  			author: (aDictionary at: #author ifAbsent: [''])
  			ancestors: (self ancestorsFromArray: (aDictionary at: #ancestors ifAbsent: []) cache: cache)
  			stepChildren: (self ancestorsFromArray: (aDictionary at: #stepChildren ifAbsent: []) cache: cache)]!

More information about the Squeak-dev mailing list