Diff
Not logged in

Differences From Artifact [0ebb647b46]:

To Artifact [46bf84e9d5]:


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
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}

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

	set n 0
	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