[squeak-dev] The Inbox: Monticello-ct.777.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Apr 7 21:15:09 UTC 2022


A new version of Monticello was added to project The Inbox:
http://source.squeak.org/inbox/Monticello-ct.777.mcz

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

Name: Monticello-ct.777
Author: ct
Time: 7 April 2022, 11:15:07.257279 pm
UUID: 9e2a3271-bdd6-d14f-bfdd-a34cedda2e0e
Ancestors: Monticello-ct.775

Adds MCVersion>>#unadopt, but does not yet connect it to the UI. Still, helpful to revert an accidental adopt/merge.

=============== Diff against Monticello-ct.775 ===============

Item was added:
+ ----- Method: MCVersion>>unadopt (in category 'actions') -----
+ unadopt
+ 	self workingCopy unadopt: self!

Item was added:
+ ----- Method: MCWorkingAncestry>>removeAncestor: (in category 'accessing') -----
+ removeAncestor: aNode
+ 
+ 	(self hasAncestor: aNode) ifFalse: [^ self error: 'Does not have ancestor' translated].
+ 	ancestors := self ancestors copyWithout: aNode.!

Item was added:
+ ----- Method: MCWorkingCopy>>unadopt: (in category 'operations') -----
+ unadopt: aVersion
+ 	ancestry removeAncestor: aVersion info.
+ 	self changed.!



More information about the Squeak-dev mailing list