#DOCUMENTATION by cg expecco_2_10_0 expecco_2_10_0_41 expecco_2_11_0 expecco_2_11_1 expecco_ALM_1_10_0 expecco_ALM_1_10_0_8 expecco_ALM_1_11_0 expecco_ALM_1_11_0_2 expecco_ALM_1_11_2 expecco_head_5844
authorClaus Gittinger <cg@exept.de>
Fri, 18 Nov 2016 18:05:40 +0100
changeset 1181 61aa6c389562
parent 1180 92753f6cc822
child 1182 38600a7a9203
child 1183 8af078552bae
#DOCUMENTATION by cg class: SVNSourceCodeManager changed: #revisionLogOf:fromRevision:toRevision:numberOfRevisions:fileName:directory:module:
SVNSourceCodeManager.st
--- a/SVNSourceCodeManager.st	Fri Nov 18 16:14:26 2016 +0100
+++ b/SVNSourceCodeManager.st	Fri Nov 18 18:05:40 2016 +0100
@@ -336,11 +336,11 @@
 
      The returned information is a structure (IdentityDictionary)
      filled with:
-            #container          -> the RCS/CVS container file name 
+            #container          -> the file name again 
             #cvsRoot            -> the CVS root (repository) 
             #filename           -> the actual source file name
             #newestRevision     -> the revisionString of the newest revision
-            #numberOfRevisions  -> the number of revisions in the container (nil for all)
+            #numberOfRevisions  -> N/A
             #revisions          -> collection of per-revision info (see below)
 
             firstRevOrNil / lastRevOrNil specify from which revisions a logEntry is wanted:
@@ -358,7 +358,6 @@
               #author                -> who checked that revision into the repository
               #date                  -> when was it checked in
               #state                 -> the RCS state
-              #numberOfChangedLines  -> the number of changed line w.r.t the previous
               #logMessage            -> the checkIn log message
 
             revisions are ordered newest first 
@@ -401,19 +400,18 @@
     info at:#filename           put: classFileName.         "/ -> the actual source file name
     info at:#newestRevision     put: log first revision asString. "/-> the revisionString of the newest revision
     info at:#numberOfRevisions  put: log size.              "/-> the number of revisions in the container (nil for all)
-    info at:#revisions          put: (log collect:[:entry|
-
-        | info |
-        info := IdentityDictionary new.
-        info at:#revision              put: entry revision asString."/ -> the revision string
-        info at:#author                put: entry author."/ -> who checked that revision into the repository
-        info at:#date                  put: entry date printString."/ -> when was it checked in
-        info at:#state                 put: 'Exp'. "/ -> the RCS state
-        info at:#numberOfChangedLines  put: 'N/A'. "/ -> the number of changed line w.r.t the previous
-        info at:#logMessage            put: entry message."/ -> the checkIn log message.
-        info
-    ]).
-
+    info at:#revisions          
+         put: 
+        (log collect:[:entry|
+            | info |
+            info := IdentityDictionary new.
+            info at:#revision              put: entry revision asString."/ -> the revision string
+            info at:#author                put: entry author."/ -> who checked that revision into the repository
+            info at:#date                  put: entry date printString."/ -> when was it checked in
+            info at:#state                 put: 'Exp'. "/ -> the RCS state
+            info at:#logMessage            put: entry message."/ -> the checkIn log message.
+            info
+        ]).
     
     ^info