Fossil SCM
Updated helper app to changed state definition (csrevision -> csitem).
Commit
fc635d597718b336a3e4ce43254b99136b996b13
Parent
3db03be62fb25d8…
1 file changed
+3
-3
+3
-3
| --- tools/cvs2fossil/filerevtree | ||
| +++ tools/cvs2fossil/filerevtree | ||
| @@ -52,11 +52,11 @@ | ||
| 52 | 52 | state reading project |
| 53 | 53 | state reading file |
| 54 | 54 | state reading revision |
| 55 | 55 | state reading revisionbranchchildren |
| 56 | 56 | state reading changeset |
| 57 | -state reading csrevision | |
| 57 | +state reading csitem | |
| 58 | 58 | state reading csorder |
| 59 | 59 | |
| 60 | 60 | set what [lindex $argv 1] |
| 61 | 61 | set centralrid -1 |
| 62 | 62 | |
| @@ -104,12 +104,12 @@ | ||
| 104 | 104 | WHERE R.fid = $fid |
| 105 | 105 | AND R.lod = S.sid |
| 106 | 106 | }]] { |
| 107 | 107 | set cs [state run { |
| 108 | 108 | SELECT CR.cid, CO.pos, CT.name |
| 109 | - FROM csrevision CR, csorder CO, cstype CT, changeset C | |
| 110 | - WHERE CR.rid = $rid | |
| 109 | + FROM csitem CR, csorder CO, cstype CT, changeset C | |
| 110 | + WHERE CR.iid = $rid | |
| 111 | 111 | AND CR.cid = CO.cid |
| 112 | 112 | AND CR.cid = C.cid |
| 113 | 113 | AND CT.tid = C.type |
| 114 | 114 | }] |
| 115 | 115 | |
| 116 | 116 |
| --- tools/cvs2fossil/filerevtree | |
| +++ tools/cvs2fossil/filerevtree | |
| @@ -52,11 +52,11 @@ | |
| 52 | state reading project |
| 53 | state reading file |
| 54 | state reading revision |
| 55 | state reading revisionbranchchildren |
| 56 | state reading changeset |
| 57 | state reading csrevision |
| 58 | state reading csorder |
| 59 | |
| 60 | set what [lindex $argv 1] |
| 61 | set centralrid -1 |
| 62 | |
| @@ -104,12 +104,12 @@ | |
| 104 | WHERE R.fid = $fid |
| 105 | AND R.lod = S.sid |
| 106 | }]] { |
| 107 | set cs [state run { |
| 108 | SELECT CR.cid, CO.pos, CT.name |
| 109 | FROM csrevision CR, csorder CO, cstype CT, changeset C |
| 110 | WHERE CR.rid = $rid |
| 111 | AND CR.cid = CO.cid |
| 112 | AND CR.cid = C.cid |
| 113 | AND CT.tid = C.type |
| 114 | }] |
| 115 | |
| 116 |
| --- tools/cvs2fossil/filerevtree | |
| +++ tools/cvs2fossil/filerevtree | |
| @@ -52,11 +52,11 @@ | |
| 52 | state reading project |
| 53 | state reading file |
| 54 | state reading revision |
| 55 | state reading revisionbranchchildren |
| 56 | state reading changeset |
| 57 | state reading csitem |
| 58 | state reading csorder |
| 59 | |
| 60 | set what [lindex $argv 1] |
| 61 | set centralrid -1 |
| 62 | |
| @@ -104,12 +104,12 @@ | |
| 104 | WHERE R.fid = $fid |
| 105 | AND R.lod = S.sid |
| 106 | }]] { |
| 107 | set cs [state run { |
| 108 | SELECT CR.cid, CO.pos, CT.name |
| 109 | FROM csitem CR, csorder CO, cstype CT, changeset C |
| 110 | WHERE CR.iid = $rid |
| 111 | AND CR.cid = CO.cid |
| 112 | AND CR.cid = C.cid |
| 113 | AND CT.tid = C.type |
| 114 | }] |
| 115 | |
| 116 |