equal
deleted
inserted
replaced
268 If numRevisionsOrNil is notNil, it limits the number of revision records returned - |
268 If numRevisionsOrNil is notNil, it limits the number of revision records returned - |
269 only numRevions of the newest revision infos will be collected. |
269 only numRevions of the newest revision infos will be collected. |
270 |
270 |
271 The returned information is a structure (IdentityDictionary) |
271 The returned information is a structure (IdentityDictionary) |
272 filled with: |
272 filled with: |
273 #container -> the RCS/CVS container file name |
273 #container -> the file name again |
274 #cvsRoot -> the CVS root (repository) |
274 #cvsRoot -> the CVS root (repository) |
275 #filename -> the actual source file name |
275 #filename -> the actual source file name |
276 #newestRevision -> the revisionString of the newest revision |
276 #newestRevision -> the revisionString of the newest revision |
277 #numberOfRevisions -> the number of revisions in the container (nil for all) |
277 #numberOfRevisions -> the number of revisions in the container (nil for all) |
278 #revisions -> collection of per-revision info (see below) |
278 #revisions -> collection of per-revision info (see below) |
290 |
290 |
291 #revision -> the revision string |
291 #revision -> the revision string |
292 #author -> who checked that revision into the repository |
292 #author -> who checked that revision into the repository |
293 #date -> when was it checked in |
293 #date -> when was it checked in |
294 #state -> the RCS state |
294 #state -> the RCS state |
295 #numberOfChangedLines -> the number of changed line w.r.t the previous |
|
296 #logMessage -> the checkIn log message |
295 #logMessage -> the checkIn log message |
297 |
296 |
298 revisions are ordered newest first |
297 revisions are ordered newest first |
299 (i.e. the last entry is for the initial revision; the first for the most recent one) |
298 (i.e. the last entry is for the initial revision; the first for the most recent one) |
300 Attention: if state = 'dead' that revision is no longer valid. |
299 Attention: if state = 'dead' that revision is no longer valid. |
346 entry := IdentityDictionary new. |
345 entry := IdentityDictionary new. |
347 entry at:#revision put: rev id printString."/ -> the revision string |
346 entry at:#revision put: rev id printString."/ -> the revision string |
348 entry at:#author put: rev author."/ -> who checked that revision into the repository |
347 entry at:#author put: rev author."/ -> who checked that revision into the repository |
349 entry at:#date put: rev timestamp printString."/ -> when was it checked in |
348 entry at:#date put: rev timestamp printString."/ -> when was it checked in |
350 entry at:#state put: 'Exp'. "/ -> the RCS state |
349 entry at:#state put: 'Exp'. "/ -> the RCS state |
351 entry at:#numberOfChangedLines put: 'N/A'. "/ -> the number of changed line w.r.t the previous |
|
352 entry at:#logMessage put: rev message."/ -> the checkIn log message. |
350 entry at:#logMessage put: rev message."/ -> the checkIn log message. |
353 log add: entry. |
351 log add: entry. |
354 |
352 |
355 revIndex := revIndex + 1. |
353 revIndex := revIndex + 1. |
356 ]. |
354 ]. |