[Vm-dev] [commit][3638] Squelch deprecation warnings when updating a trunk image.

commits at squeakvm.org commits at squeakvm.org
Tue Mar 8 21:38:14 UTC 2016


Revision: 3638
Author:   eliot
Date:     2016-03-08 13:38:11 -0800 (Tue, 08 Mar 2016)
Log Message:
-----------
Squelch deprecation warnings when updating a trunk image.

Modified Paths:
--------------
    branches/Cog/image/UpdateSqueakTrunkImage.st

Modified: branches/Cog/image/UpdateSqueakTrunkImage.st
===================================================================
--- branches/Cog/image/UpdateSqueakTrunkImage.st	2016-03-05 01:03:53 UTC (rev 3637)
+++ branches/Cog/image/UpdateSqueakTrunkImage.st	2016-03-08 21:38:11 UTC (rev 3638)
@@ -1,5 +1,7 @@
-[MCMcmUpdater
-	defaultUpdateURL: 'http://source.squeak.org/trunk';
-	updateFromServer] valueSupplyingAnswer: true.
+[[MCMcmUpdater
+		defaultUpdateURL: 'http://source.squeak.org/trunk';
+		updateFromServer] valueSupplyingAnswer: true]
+	on: Deprecation
+	do: [:ex| ex resume: nil].
 
 Smalltalk snapshot: true andQuit: true


More information about the Vm-dev mailing list