Fossil

Check-in [2e7cbb28]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed one of the cross-reference checks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2e7cbb2829f167c5317f16aa139761287549acae
User & Date: aku 2007-10-26 06:11:21
Context
2007-10-26
06:53
Added another consistency check, and revised the comments to use the more exact terms for the various relationships. check-in: 70d4a811 user: aku tags: trunk
06:11
Fixed one of the cross-reference checks. check-in: 2e7cbb28 user: aku tags: trunk
05:29
Added lots of checks looking for inconsistent references between the various objects, mainly revisions. check-in: 2434ad3b user: aku tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/cvs2fossil/lib/c2f_pcollrev.tcl.

449
450
451
452
453
454
455
456

457
458
459
460
461
462
463
	    {Branch starting revisions must not be children of their parents} \
	    {at the beginning of its branch is the child of its parent} {
		SELECT F.name, R.rev
		FROM revision R, revision P, file F
		WHERE R.fid = F.fid
		AND   R.bparent IS NOT NULL
		AND   R.parent IS NOT NULL
		AND   R.parent = P.child

		;
	    }
	# Find all revisions with a non-NTDB child which are not on
	# the NTDB.
	Check \
	    {NTDB to trunk transition has to begin on NTDB} \
	    {has a non-NTDB child, yet is not on the NTDB} {







|
>







449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
	    {Branch starting revisions must not be children of their parents} \
	    {at the beginning of its branch is the child of its parent} {
		SELECT F.name, R.rev
		FROM revision R, revision P, file F
		WHERE R.fid = F.fid
		AND   R.bparent IS NOT NULL
		AND   R.parent IS NOT NULL
		AND   R.parent = P.rid
		AND   P.child = R.rid
		;
	    }
	# Find all revisions with a non-NTDB child which are not on
	# the NTDB.
	Check \
	    {NTDB to trunk transition has to begin on NTDB} \
	    {has a non-NTDB child, yet is not on the NTDB} {