| | @@ -43,10 +43,14 @@ |
| 43 | 43 | |
| 44 | 44 | typemethod setup {} { |
| 45 | 45 | # Define the names and structure of the persistent state of |
| 46 | 46 | # this pass. |
| 47 | 47 | |
| 48 | + state reading revision |
| 49 | + state reading changeset |
| 50 | + state reading csrevision |
| 51 | + |
| 48 | 52 | state writing csorder { |
| 49 | 53 | -- Commit order of changesets based on their dependencies |
| 50 | 54 | cid INTEGER NOT NULL REFERENCES changeset, |
| 51 | 55 | pos INTEGER NOT NULL, |
| 52 | 56 | UNIQUE (cid), |
| | @@ -67,14 +71,10 @@ |
| 67 | 71 | |
| 68 | 72 | typemethod run {} { |
| 69 | 73 | # Pass manager interface. Executed to perform the |
| 70 | 74 | # functionality of the pass. |
| 71 | 75 | |
| 72 | | - state reading revision |
| 73 | | - state reading changeset |
| 74 | | - state reading csrevision |
| 75 | | - |
| 76 | 76 | state transaction { |
| 77 | 77 | cyclebreaker run [struct::list filter [project::rev all] \ |
| 78 | 78 | [myproc IsByRevision]] \ |
| 79 | 79 | [myproc SaveOrder] |
| 80 | 80 | } |
| 81 | 81 | |