Fossil

Check-in [341d96be21]
Login

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

Overview
Comment:Bugfix. In pass 5, loading the changesets used the type codes instead of the type names. Modified the SQL selecting the data to return the proper names.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 341d96be210caf63eaedfc3387473f77ec49282a
User & Date: aku 2007-11-16 03:52:18.000
Context
2007-11-16
03:54
Bugfix. When I introduced the 'revisionbranchchildren' table to pass 2 I forgot to update pass 4 as well. Added code to drop the excluded revisons from this table as well, as either parent of branches, or branch child of some other revision. ... (check-in: 2516f4a56d user: aku tags: trunk)
03:52
Bugfix. In pass 5, loading the changesets used the type codes instead of the type names. Modified the SQL selecting the data to return the proper names. ... (check-in: 341d96be21 user: aku tags: trunk)
2007-11-15
07:17
Added skeleton files for pass 7, the breaking of dependency cycles over symbol-based changesets. ... (check-in: 258366a37a user: aku tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to tools/cvs2fossil/lib/c2f_pinitcsets.tcl.
102
103
104
105
106
107
108
109
110

111
112
113
114
115
116
117
	# executed.

	state reading changeset
	state reading csrevision
	state reading cstype

	foreach {id pid cstype srcid} [state run {
	    SELECT C.cid, C.pid, C.type, C.src
	    FROM   changeset C

	    ORDER BY C.cid
	}] {
	    set r [project::rev %AUTO% [repository projectof $pid] $cstype $srcid [state run {
		SELECT C.rid
		FROM   csrevision C
		WHERE  C.cid = $id
		ORDER  BY C.pos







|
|
>







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
	# executed.

	state reading changeset
	state reading csrevision
	state reading cstype

	foreach {id pid cstype srcid} [state run {
	    SELECT C.cid, C.pid, CS.name, C.src
	    FROM   changeset C, cstype CS
	    WHERE  C.type = CS.tid
	    ORDER BY C.cid
	}] {
	    set r [project::rev %AUTO% [repository projectof $pid] $cstype $srcid [state run {
		SELECT C.rid
		FROM   csrevision C
		WHERE  C.cid = $id
		ORDER  BY C.pos