1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
Spiritual ancestor: [http://cvs2svn.tigris.org/|cvs2svn].
Similarities:
* Using identical highlevel architecture (pass-based)
* Using some specific algorithms (graph traversal).
Differences:
* Not using any of its code (Different languages for one thing, [http://www.python.org/|Python] there, [http://www.tcl.tk/|Tcl] here).
* Persistent state completely different, using [http://www.sqlite.org/|sqlite] database for all things we wish to keep between passes.
Status:
<table align=left border=1>
<tr>
<th>Pass</th>
<th>Description</th>
<th>Notes</th>
</tr>
<tr>
<td>CollectAr</td>
* Pass CollectAr: Collect archives - ok.
* Pass CollectRev: Collect revisions, tags, branches (file level) - ok.
* Pass CollateSymbols: Collate symbol (project level) from the file level data - ok.
* Pass FilterSymbols: Filter symbols, exclude symbols and lines of development - ok.
* Pass InitCsets: Create initial changesets - ok. <b>Memory Hog, Slow commit</b>
* Pass CsetDeps: Compute changeset dependencies from revision dependencies - ok.
* Pass BreakRevCsetCycles: Break cycles among revision changesets - ok.
* Pass RevTopologicalSort: Topologically sort revision changesets - ok.
* Pass BreakSymCsetCycles: Break cycles among symbol changesets - ok.
* Pass BreakAllCsetCycles: Break cycles over all changesets - <b>May still change the order of revision changesets over the result of pass 7.</b>
* Pass AllTopologicallSort: Topologically sort all changesets - ok.
<td>Collect archives</td>
<td>Ok</td>
</tr>
<tr>
<td>CollectRev</td>
<td>Collect revisions, tags, branches (file level)</td>
<td>Ok</td>
</tr>
<tr>
<td>CollateSymbols</td>
<td>Collate symbol (project level) from the file level data</td>
<td>Ok</td>
</tr>
<tr>
<td>FilterSymbols</td>
<td>Filter symbols, exclude symbols and lines of development</td>
<td>Ok</td>
</tr>
<tr>
<td>InitCsets</td>
<td>Create initial changesets</td>
<td>Ok. <b>Memory Hog, Slow commit</b></td>
</tr>
<tr>
<td>CsetDeps</td>
<td>Compute changeset dependencies from revision dependencies</td>
<td>Ok</td>
</tr>
<tr>
<td>Pass BreakRevCsetCycles</td>
<td>Break cycles among revision changesets</td>
<td>Ok</td>
</tr>
<tr>
<td>RevTopologicalSort</td>
<td>Topologically sort revision changesets</td>
<td>Ok</td>
</tr>
<tr>
<td>BreakSymCsetCycles</td>
<td>Break cycles among symbol changesets</td>
<td>Ok</td>
</tr>
<tr>
<td>BreakAllCsetCycles</td>
<td>Break cycles over all changesets</td>
<td><b>May still change the order of revision changesets over the result of pass 7.</b></td>
</tr>
<tr>
<td>AllTopologicallSort</td>
<td>Topologically sort all changesets</td>
<td>Ok</td>
</tr>
</table>
Passes to do:
* Put changeset order from the top.sort passes and tree of symbols from the coll|FilterSym passes together into a tree of changesets. Note that it might not be a tree if there is an NTDB around.
* Perform the actual import.
Notes regarding the actual import:
<ul>
|