[squeak-dev] The Inbox: Monticello-mva.662.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Feb 16 16:11:54 UTC 2017
A new version of Monticello was added to project The Inbox:
http://source.squeak.org/inbox/Monticello-mva.662.mcz
==================== Summary ====================
Name: Monticello-mva.662
Author: mva
Time: 16 February 2017, 5:10:47.064495 pm
UUID: 903c77c9-0add-414a-8501-afd08dd754da
Ancestors: Monticello-mva.661
fix 'target doesNotUnderstand snapshot' in 'changes against ...' after 'flush cached versions'
=============== Diff against Monticello-mva.661 ===============
Item was changed:
----- Method: MCRepositoryInspector>>versionListMenu: (in category 'morphic ui') -----
versionListMenu: aMenu
1 to: self orderSpecs size do: [ :index |
aMenu addUpdating: #orderString: target: self selector: #order: argumentList: { index } ].
aMenu addLine.
aMenu add: 'Changes against ...' action: [| ri |
ri := aMenu defaultTarget.
(UIManager default
chooseFrom: ri versionList
values: ri versionList
title: 'Select version to show patch against ...') ifNotNilDo: [:name |
+
| versionName target base |
versionName := MCVersionName on: name.
+ base := ri repository versionNamed: versionName.
+ target := ri version.
- target := ri repository versionNamed: ri versionInfo name.
- base := aMenu defaultTarget repository versionNamed: versionName.
(MCPatchBrowser
forPatch: (target snapshot patchRelativeToBase: base snapshot))
showLabelled: 'Changes from ', versionName, ' to ', ri versionInfo name]].
+ aMenu lastItem isEnabled: aMenu defaultTarget hasVersion.
^aMenu!
More information about the Squeak-dev
mailing list
|