Fossil SCM

Updated helper app to changed state definition (csrevision -> csitem).

aku 2007-11-30 15:21 trunk
Commit fc635d597718b336a3e4ce43254b99136b996b13
--- tools/cvs2fossil/filerevtree
+++ tools/cvs2fossil/filerevtree
@@ -52,11 +52,11 @@
5252
state reading project
5353
state reading file
5454
state reading revision
5555
state reading revisionbranchchildren
5656
state reading changeset
57
-state reading csrevision
57
+state reading csitem
5858
state reading csorder
5959
6060
set what [lindex $argv 1]
6161
set centralrid -1
6262
@@ -104,12 +104,12 @@
104104
WHERE R.fid = $fid
105105
AND R.lod = S.sid
106106
}]] {
107107
set cs [state run {
108108
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
111111
AND CR.cid = CO.cid
112112
AND CR.cid = C.cid
113113
AND CT.tid = C.type
114114
}]
115115
116116
--- 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

Keyboard Shortcuts

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