Not logged in
Diff

Differences From Artifact [47f6b87c0b]:

  • File tools/cvs2fossil/lib/c2f_pcollrev.tcl — part of check-in [67c24820c7] at 2007-10-14 01:58:07 on branch trunk — Reworked the whole handling of meta data (author, commit message, plus project/branch information), so that revisions now store only the meta id, everything else is stored centrally. All the relevant pieces (author, cmessage, symbols, projects) now also get numeric ids assigned early instead of when being saved to the state. Project ids are loaded from the state now too. (user: aku size: 9140)

To Artifact [38ef86c838]:

  • File tools/cvs2fossil/lib/c2f_pcollrev.tcl — part of check-in [3a00ac5aa2] at 2007-10-23 02:29:55 on branch trunk — Due to quickly building memory pressure for large cvs repositories (thousands of revisions and symbol object) we have to save the pertinent information of a file immediately after it has been processed and then clear the memory. Inserted the basic skeleton for this into pass and file objects. (user: aku size: 9526)

206
207
208
209
210
211
212











213
214
215
216
217
218
219
		    if {$errorCode eq "vc::rcs::parser"} {
			trouble fatal "$path is not a valid RCS archive ($msg)"
		    } else {
			global errorInfo
			trouble internal $errorInfo
		    }
		}











	    }
	}

	repository printrevstatistics
	repository persistrev

	log write 1 collrev "Scan completed"







>
>
>
>
>
>
>
>
>
>
>







206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
		    if {$errorCode eq "vc::rcs::parser"} {
			trouble fatal "$path is not a valid RCS archive ($msg)"
		    } else {
			global errorInfo
			trouble internal $errorInfo
		    }
		}

		# We persist the core of the data collected about each
		# file immediately after it has been parsed and
		# wrangled into shape, and then drop it from
		# memory. This is done to keep the memory requirements
		# within limits, i.e. without doing it this way it is
		# easy to blow 1G of RAM with all the objects
		# (revisions and file-level symbols).

		$file persist
		$file drop
	    }
	}

	repository printrevstatistics
	repository persistrev

	log write 1 collrev "Scan completed"