# HG changeset patch # User Claus Gittinger # Date 1464785884 -7200 # Node ID 4103a12f0c6d9b7d95dc910215a3ff449088c663 # Parent 0a798a9143dd0a8db574000cf13e91a62e9690c4 #REFACTORING by cg class: CVSSourceCodeManager comment/format in: #initialize diff -r 0a798a9143dd -r 4103a12f0c6d CVSSourceCodeManager.st --- a/CVSSourceCodeManager.st Wed Jun 01 14:57:55 2016 +0200 +++ b/CVSSourceCodeManager.st Wed Jun 01 14:58:04 2016 +0200 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1995 by Claus Gittinger All Rights Reserved @@ -255,13 +257,6 @@ UseWorkTree := false. -"/ CacheDirectoryName isNil ifTrue:[ -"/ self initCacheDirPath. -"/ ]. -"/ CachingSources isNil ifTrue:[ -"/ CachingSources := true. -"/ ]. - "/ "/ check if there is an stx directory there "/ @@ -4695,17 +4690,17 @@ "/ The repair code will be removed at some time in the future... "/ temporary fix Felix' bad string translation: - (aString startsWith:'§Header:') ifTrue:[ - (aString endsWith:'Exp §') ifTrue:[ + (aString startsWith:'§Header:') ifTrue:[ + (aString endsWith:'Exp §') ifTrue:[ fixedString := '$' , (aString copyFrom:3 to:(aString size - 2)) , '$'. aClass isNil ifTrue:[ autoFixHolder value ifFalse:[ - Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'. + Dialog information:'Attention: the CVS version string is corrupted (§-bug). Please fix it manually'. ] ] ifFalse:[ (autoFixHolder value - or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ] + or:[ Dialog confirm:('Attention: the CVS version string is corrupted in "%1" (§-bug). Fix it?' withCRs bindWith:aClass name) ] ) ifTrue:[ self updateVersionMethodOf:aClass for:fixedString. ]. @@ -4713,7 +4708,7 @@ ]. ]. - "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed): + "/ temporary fix Jan's bad Umlaut-removal (which results in Felix's bad § being removed): (aString startsWith:'Header: ') ifTrue:[ (aString endsWith:'Exp ') ifTrue:[ fixedString := '$' , aString , '$'.