--- a/MCVersionInfoWriter.st Mon Oct 26 16:25:04 2009 +0100
+++ b/MCVersionInfoWriter.st Mon Oct 26 16:25:06 2009 +0100
@@ -15,21 +15,21 @@
!
writeVersionInfo: aVersionInfo
- (self isWritten: aVersionInfo)
- ifTrue: [^ stream nextPutAll: '(id ', aVersionInfo id asString printString, ')'].
- stream nextPut: $(.
- #(name message id date time author)
- do: [:sel |
- stream nextPutAll: sel.
- stream nextPut: $ .
- ((aVersionInfo perform: sel) ifNil: ['']) asString printOn: stream.
- stream nextPut: $ ].
- stream nextPutAll: 'ancestors ('.
- aVersionInfo ancestors do: [:ea | self writeVersionInfo: ea].
- stream nextPutAll: ') stepChildren ('.
- aVersionInfo stepChildren do: [:ea | self writeVersionInfo: ea].
- stream nextPutAll: '))'.
- self wrote: aVersionInfo
+ (self isWritten: aVersionInfo)
+ ifTrue: [^ stream nextPutAll: '(id ', aVersionInfo id asString storeString "printString", ')'].
+ stream nextPut: $(.
+ #(name message id date time author)
+ do: [:sel |
+ stream nextPutAll: sel.
+ stream nextPut: $ .
+ ((aVersionInfo perform: sel) ifNil: ['']) asString storeOn: "printOn:" stream.
+ stream nextPut: $ ].
+ stream nextPutAll: 'ancestors ('.
+ aVersionInfo ancestors do: [:ea | self writeVersionInfo: ea].
+ stream nextPutAll: ') stepChildren ('.
+ aVersionInfo stepChildren do: [:ea | self writeVersionInfo: ea].
+ stream nextPutAll: '))'.
+ self wrote: aVersionInfo
!
written
@@ -43,5 +43,9 @@
!MCVersionInfoWriter class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/goodies/monticello/MCVersionInfoWriter.st,v 1.1 2006-11-22 13:05:22 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/goodies/monticello/MCVersionInfoWriter.st,v 1.2 2009-10-26 15:25:06 cg Exp $'
+!
+
+version_CVS
+ ^ '$Header: /cvs/stx/stx/goodies/monticello/MCVersionInfoWriter.st,v 1.2 2009-10-26 15:25:06 cg Exp $'
! !