Chris Muller uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-cmm.636.mcz==================== Summary ====================
Name: Monticello-cmm.636
Author: cmm
Time: 17 July 2016, 7:34:31.098547 pm
UUID: 1d09791b-60cb-4d7b-839c-808afa996e5e
Ancestors: Monticello-cmm.635
Better error handling for mc history.
=============== Diff against Monticello-cmm.635 ===============
Item was changed:
----- Method: MCHttpRepository>>historyOf: (in category 'accessing') -----
historyOf: aMCDefinition
+ | reply |
+ reply := self
+ httpGet: 'history'
+ for: aMCDefinition.
+ ^ reply isString
+ ifTrue:
+ [ Warning signal: 'History request failed. Server ''reply'' in debugger.'.
+ Array empty ]
+ ifFalse: [ (ReferenceStream on: reply) next ]!
- ^ (ReferenceStream on:
- (self
- httpGet: 'history'
- for: aMCDefinition)) next!
Item was changed:
----- Method: MCHttpRepository>>originOf: (in category 'accessing') -----
originOf: aMCDefinition
+ | reply |
+ reply := self
+ httpGet: 'origin'
+ for: aMCDefinition.
+ ^ reply isString
+ ifTrue:
+ [ Warning signal: 'Origin request failed. Server ''reply'' in debugger.'.
+ Array empty ]
+ ifFalse: [ (ReferenceStream on: reply) next ]!
- ^ (ReferenceStream on:
- (self
- httpGet: 'origin'
- for: aMCDefinition)) next!