Fossil SCM

Fixed one of the cross-reference checks.

aku 2007-10-26 06:11 trunk
Commit 2e7cbb2829f167c5317f16aa139761287549acae
--- tools/cvs2fossil/lib/c2f_pcollrev.tcl
+++ tools/cvs2fossil/lib/c2f_pcollrev.tcl
@@ -451,11 +451,12 @@
451451
SELECT F.name, R.rev
452452
FROM revision R, revision P, file F
453453
WHERE R.fid = F.fid
454454
AND R.bparent IS NOT NULL
455455
AND R.parent IS NOT NULL
456
- AND R.parent = P.child
456
+ AND R.parent = P.rid
457
+ AND P.child = R.rid
457458
;
458459
}
459460
# Find all revisions with a non-NTDB child which are not on
460461
# the NTDB.
461462
Check \
462463
--- tools/cvs2fossil/lib/c2f_pcollrev.tcl
+++ tools/cvs2fossil/lib/c2f_pcollrev.tcl
@@ -451,11 +451,12 @@
451 SELECT F.name, R.rev
452 FROM revision R, revision P, file F
453 WHERE R.fid = F.fid
454 AND R.bparent IS NOT NULL
455 AND R.parent IS NOT NULL
456 AND R.parent = P.child
 
457 ;
458 }
459 # Find all revisions with a non-NTDB child which are not on
460 # the NTDB.
461 Check \
462
--- tools/cvs2fossil/lib/c2f_pcollrev.tcl
+++ tools/cvs2fossil/lib/c2f_pcollrev.tcl
@@ -451,11 +451,12 @@
451 SELECT F.name, R.rev
452 FROM revision R, revision P, file F
453 WHERE R.fid = F.fid
454 AND R.bparent IS NOT NULL
455 AND R.parent IS NOT NULL
456 AND R.parent = P.rid
457 AND P.child = R.rid
458 ;
459 }
460 # Find all revisions with a non-NTDB child which are not on
461 # the NTDB.
462 Check \
463

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button