Differences From:
File
tools/cvs2fossil/lib/c2f_pcollar.tcl
part of check-in
[b679ca3356]
- Code cleanup. Removed trailing whitespace across the board.
by
aku on
2007-11-25 07:54:09.
[view]
To:
File
tools/cvs2fossil/lib/c2f_pcollar.tcl
part of check-in
[e288af3995]
- Fluff: Renamed state methods use/reading/writing to usedb/use/extend for clarity. Updated all callers.
Extended state module with code to dump the SQL statements it receives to a file for analysis.
Extended the 'use' declarations of several passes.
by
aku on
2007-12-02 23:47:45.
[view]
@@ -64,13 +64,13 @@
# Both projects and files are identified by globally unique
# integer ids, automatically assigned by the database.
- state writing project {
+ state extend project {
pid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL UNIQUE
}
- state writing file {
+ state extend file {
fid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
pid INTEGER NOT NULL REFERENCES project, -- project the file belongs to
name TEXT NOT NULL,
visible TEXT NOT NULL,
@@ -84,10 +84,10 @@
# Pass manager interface. Executed for all passes before the
# run passes, to load all data of their pass from the state,
# as if it had been computed by the pass itself.
- state reading project
- state reading file
+ state use project
+ state use file
repository load
return
}