added: #version_CVS
authorClaus Gittinger <cg@exept.de>
Sat, 20 Aug 2011 13:42:47 +0200
changeset 203 fa9a97fecbd4
parent 202 c159b433becd
child 204 ccc411a95eb2
added: #version_CVS
MCSnapshot.st
--- a/MCSnapshot.st	Sat Aug 20 13:42:40 2011 +0200
+++ b/MCSnapshot.st	Sat Aug 20 13:42:47 2011 +0200
@@ -32,10 +32,21 @@
 	^ definitions asArray hash
 ! !
 
+!MCSnapshot methodsFor:'converting'!
+
+asChangeSet
+
+    ^(ChangeSet withAll:
+        (self definitions collect:[:def|def asChange]))
+
+    "Created: / 13-10-2010 / 17:18:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 26-10-2010 / 23:05:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !MCSnapshot methodsFor:'initializing'!
 
 initializeWithDefinitions: aCollection
-	definitions _ aCollection.
+	definitions := aCollection.
 ! !
 
 !MCSnapshot methodsFor:'loading'!
@@ -57,5 +68,13 @@
 !MCSnapshot class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshot.st,v 1.1 2006-11-22 13:20:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshot.st,v 1.2 2011-08-20 11:42:47 cg Exp $'
+!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSnapshot.st,v 1.2 2011-08-20 11:42:47 cg Exp $'
+!
+
+version_SVN
+    ^ '§Id: MCSnapshot.st 22 2010-10-27 12:44:00Z vranyj1 §'
 ! !