Not logged in
Diff

Differences From Artifact [0ebb647b46]:

  • File tools/cvs2fossil/lib/c2f_pcollrev.tcl — part of check-in [70d4a81162] at 2007-10-26 06:53:16 on branch trunk — Added another consistency check, and revised the comments to use the more exact terms for the various relationships. (user: aku size: 19349)

To Artifact [46bf84e9d5]:

  • File tools/cvs2fossil/lib/c2f_pcollrev.tcl — part of check-in [831e8f360d] at 2007-10-27 04:59:07 on branch trunk — Replaced the ASCII art showing entity links with dia'grams and gif images derived from them. Especially useful when trying to understand the paranoia checks. (user: aku size: 19145)

313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
    }

    proc Paranoia {} {
	# This code performs a number of paranoid checks of the
	# database for inconsistent cross-references.
	log write 4 collrev {Check database consistency}

	#
	#    +-> Symbol ------------------+
	#    |      ^                     | [1]
	#    |      |                     V
	#    |   Revision --> File --> Project
	#    | [3]  |                     ^
	#    |      V                     | [2]
	#    +--- Meta -------------------+
	#

	set n 0

	# Find all revisions which disagree with their line of
	# development about the project they are owned by.
	Check \
	    {Revisions and their LODs have to be in the same project} \
	    {disagrees with its LOD about owning project} {
		SELECT F.name, R.rev







<
<
<
<
<
<
<
<
<
|
|







313
314
315
316
317
318
319









320
321
322
323
324
325
326
327
328
    }

    proc Paranoia {} {
	# This code performs a number of paranoid checks of the
	# database for inconsistent cross-references.
	log write 4 collrev {Check database consistency}










	set n 0 ; # Counter for the checks (we print an id before the
		  # main label).

	# Find all revisions which disagree with their line of
	# development about the project they are owned by.
	Check \
	    {Revisions and their LODs have to be in the same project} \
	    {disagrees with its LOD about owning project} {
		SELECT F.name, R.rev