Fossil SCM
Code cleanup. Removed trailing whitespace across the board.
Commit
b679ca335656a8c1390c0f11744777ad1b7a6c11
Parent
1ea319fb6786f7e…
33 files changed
+2
-2
+3
-3
+1
-1
+2
-2
+8
-8
+1
-1
+8
-1
+1
-1
+6
-6
+2
-2
+1
-1
+1
-1
+1
-1
+2
-2
+3
-3
+2
-2
+3
-3
+2
-2
+1
-1
+4
-4
+1
-1
+1
-1
+1
-1
+3
-3
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+3
-3
+1
-1
~
tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
~
tools/cvs2fossil/lib/c2f_file.tcl
~
tools/cvs2fossil/lib/c2f_flodmgr.tcl
~
tools/cvs2fossil/lib/c2f_frev.tcl
~
tools/cvs2fossil/lib/c2f_fsym.tcl
~
tools/cvs2fossil/lib/c2f_ftrunk.tcl
~
tools/cvs2fossil/lib/c2f_integrity.tcl
~
tools/cvs2fossil/lib/c2f_option.tcl
~
tools/cvs2fossil/lib/c2f_pass.tcl
~
tools/cvs2fossil/lib/c2f_patopsort.tcl
~
tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
~
tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl
~
tools/cvs2fossil/lib/c2f_pbreakscycle.tcl
~
tools/cvs2fossil/lib/c2f_pcollar.tcl
~
tools/cvs2fossil/lib/c2f_pcollrev.tcl
~
tools/cvs2fossil/lib/c2f_pcollsym.tcl
~
tools/cvs2fossil/lib/c2f_pfiltersym.tcl
~
tools/cvs2fossil/lib/c2f_pinitcsets.tcl
~
tools/cvs2fossil/lib/c2f_plodmgr.tcl
~
tools/cvs2fossil/lib/c2f_prev.tcl
~
tools/cvs2fossil/lib/c2f_prevlink.tcl
~
tools/cvs2fossil/lib/c2f_project.tcl
~
tools/cvs2fossil/lib/c2f_prtopsort.tcl
~
tools/cvs2fossil/lib/c2f_psym.tcl
~
tools/cvs2fossil/lib/c2f_ptrunk.tcl
~
tools/cvs2fossil/lib/c2f_repository.tcl
~
tools/cvs2fossil/lib/c2f_state.tcl
~
tools/cvs2fossil/lib/cvs2fossil.tcl
~
tools/cvs2fossil/lib/dot.tcl
~
tools/cvs2fossil/lib/log.tcl
~
tools/cvs2fossil/lib/misc.tcl
~
tools/cvs2fossil/lib/rcsparser.tcl
~
tools/cvs2fossil/lib/trouble.tcl
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | ||
| @@ -26,11 +26,11 @@ | ||
| 26 | 26 | package require vc::tools::misc ; # Text formatting. |
| 27 | 27 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 28 | 28 | package require vc::fossil::import::cvs::project::revlink ; # Cycle links. |
| 29 | 29 | |
| 30 | 30 | # # ## ### ##### ######## ############# ##################### |
| 31 | -## | |
| 31 | +## | |
| 32 | 32 | |
| 33 | 33 | snit::type ::vc::fossil::import::cvs::cyclebreaker { |
| 34 | 34 | # # ## ### ##### ######## ############# |
| 35 | 35 | ## Public API |
| 36 | 36 | |
| @@ -41,11 +41,11 @@ | ||
| 41 | 41 | |
| 42 | 42 | typemethod savecmd {cmd} { |
| 43 | 43 | ::variable mysavecmd $cmd |
| 44 | 44 | return |
| 45 | 45 | } |
| 46 | - | |
| 46 | + | |
| 47 | 47 | typemethod breakcmd {cmd} { |
| 48 | 48 | ::variable mybreakcmd $cmd |
| 49 | 49 | return |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 |
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| @@ -26,11 +26,11 @@ | |
| 26 | package require vc::tools::misc ; # Text formatting. |
| 27 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 28 | package require vc::fossil::import::cvs::project::revlink ; # Cycle links. |
| 29 | |
| 30 | # # ## ### ##### ######## ############# ##################### |
| 31 | ## |
| 32 | |
| 33 | snit::type ::vc::fossil::import::cvs::cyclebreaker { |
| 34 | # # ## ### ##### ######## ############# |
| 35 | ## Public API |
| 36 | |
| @@ -41,11 +41,11 @@ | |
| 41 | |
| 42 | typemethod savecmd {cmd} { |
| 43 | ::variable mysavecmd $cmd |
| 44 | return |
| 45 | } |
| 46 | |
| 47 | typemethod breakcmd {cmd} { |
| 48 | ::variable mybreakcmd $cmd |
| 49 | return |
| 50 | } |
| 51 | |
| 52 |
| --- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| +++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl | |
| @@ -26,11 +26,11 @@ | |
| 26 | package require vc::tools::misc ; # Text formatting. |
| 27 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 28 | package require vc::fossil::import::cvs::project::revlink ; # Cycle links. |
| 29 | |
| 30 | # # ## ### ##### ######## ############# ##################### |
| 31 | ## |
| 32 | |
| 33 | snit::type ::vc::fossil::import::cvs::cyclebreaker { |
| 34 | # # ## ### ##### ######## ############# |
| 35 | ## Public API |
| 36 | |
| @@ -41,11 +41,11 @@ | |
| 41 | |
| 42 | typemethod savecmd {cmd} { |
| 43 | ::variable mysavecmd $cmd |
| 44 | return |
| 45 | } |
| 46 | |
| 47 | typemethod breakcmd {cmd} { |
| 48 | ::variable mybreakcmd $cmd |
| 49 | return |
| 50 | } |
| 51 | |
| 52 |
| --- tools/cvs2fossil/lib/c2f_file.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_file.tcl | ||
| @@ -25,11 +25,11 @@ | ||
| 25 | 25 | package require vc::tools::trouble ; # Error reporting. |
| 26 | 26 | package require vc::tools::log ; # User feedback |
| 27 | 27 | package require vc::tools::misc ; # Text formatting |
| 28 | 28 | |
| 29 | 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | -## | |
| 30 | +## | |
| 31 | 31 | |
| 32 | 32 | snit::type ::vc::fossil::import::cvs::file { |
| 33 | 33 | # # ## ### ##### ######## ############# |
| 34 | 34 | ## Public API |
| 35 | 35 | |
| @@ -565,19 +565,19 @@ | ||
| 565 | 565 | # No default branch, but the file appears to have been |
| 566 | 566 | # imported. So our educated guess is that all revisions |
| 567 | 567 | # on the '1.1.1' branch with timestamps prior to the |
| 568 | 568 | # timestamp of '1.2' were non-trunk default branch |
| 569 | 569 | # revisions. |
| 570 | - | |
| 570 | + | |
| 571 | 571 | # This really only processes standard '1.1.1.*'-style |
| 572 | 572 | # vendor revisions. One could conceivably have a file |
| 573 | 573 | # whose default branch is 1.1.3 or whatever, or was that |
| 574 | 574 | # at some point in time, with vendor revisions 1.1.3.1, |
| 575 | 575 | # 1.1.3.2, etc. But with the default branch gone now, |
| 576 | 576 | # we'd have no basis for assuming that the non-standard |
| 577 | 577 | # vendor branch had ever been the default branch anyway. |
| 578 | - | |
| 578 | + | |
| 579 | 579 | # Note that we rely on comparisons between the timestamps |
| 580 | 580 | # of the revisions on the vendor branch and that of |
| 581 | 581 | # revision 1.2, even though the timestamps might be |
| 582 | 582 | # incorrect due to clock skew. We could do a slightly |
| 583 | 583 | # better job if we used the changeset timestamps, as it is |
| 584 | 584 |
| --- tools/cvs2fossil/lib/c2f_file.tcl | |
| +++ tools/cvs2fossil/lib/c2f_file.tcl | |
| @@ -25,11 +25,11 @@ | |
| 25 | package require vc::tools::trouble ; # Error reporting. |
| 26 | package require vc::tools::log ; # User feedback |
| 27 | package require vc::tools::misc ; # Text formatting |
| 28 | |
| 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | ## |
| 31 | |
| 32 | snit::type ::vc::fossil::import::cvs::file { |
| 33 | # # ## ### ##### ######## ############# |
| 34 | ## Public API |
| 35 | |
| @@ -565,19 +565,19 @@ | |
| 565 | # No default branch, but the file appears to have been |
| 566 | # imported. So our educated guess is that all revisions |
| 567 | # on the '1.1.1' branch with timestamps prior to the |
| 568 | # timestamp of '1.2' were non-trunk default branch |
| 569 | # revisions. |
| 570 | |
| 571 | # This really only processes standard '1.1.1.*'-style |
| 572 | # vendor revisions. One could conceivably have a file |
| 573 | # whose default branch is 1.1.3 or whatever, or was that |
| 574 | # at some point in time, with vendor revisions 1.1.3.1, |
| 575 | # 1.1.3.2, etc. But with the default branch gone now, |
| 576 | # we'd have no basis for assuming that the non-standard |
| 577 | # vendor branch had ever been the default branch anyway. |
| 578 | |
| 579 | # Note that we rely on comparisons between the timestamps |
| 580 | # of the revisions on the vendor branch and that of |
| 581 | # revision 1.2, even though the timestamps might be |
| 582 | # incorrect due to clock skew. We could do a slightly |
| 583 | # better job if we used the changeset timestamps, as it is |
| 584 |
| --- tools/cvs2fossil/lib/c2f_file.tcl | |
| +++ tools/cvs2fossil/lib/c2f_file.tcl | |
| @@ -25,11 +25,11 @@ | |
| 25 | package require vc::tools::trouble ; # Error reporting. |
| 26 | package require vc::tools::log ; # User feedback |
| 27 | package require vc::tools::misc ; # Text formatting |
| 28 | |
| 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | ## |
| 31 | |
| 32 | snit::type ::vc::fossil::import::cvs::file { |
| 33 | # # ## ### ##### ######## ############# |
| 34 | ## Public API |
| 35 | |
| @@ -565,19 +565,19 @@ | |
| 565 | # No default branch, but the file appears to have been |
| 566 | # imported. So our educated guess is that all revisions |
| 567 | # on the '1.1.1' branch with timestamps prior to the |
| 568 | # timestamp of '1.2' were non-trunk default branch |
| 569 | # revisions. |
| 570 | |
| 571 | # This really only processes standard '1.1.1.*'-style |
| 572 | # vendor revisions. One could conceivably have a file |
| 573 | # whose default branch is 1.1.3 or whatever, or was that |
| 574 | # at some point in time, with vendor revisions 1.1.3.1, |
| 575 | # 1.1.3.2, etc. But with the default branch gone now, |
| 576 | # we'd have no basis for assuming that the non-standard |
| 577 | # vendor branch had ever been the default branch anyway. |
| 578 | |
| 579 | # Note that we rely on comparisons between the timestamps |
| 580 | # of the revisions on the vendor branch and that of |
| 581 | # revision 1.2, even though the timestamps might be |
| 582 | # incorrect due to clock skew. We could do a slightly |
| 583 | # better job if we used the changeset timestamps, as it is |
| 584 |
| --- tools/cvs2fossil/lib/c2f_flodmgr.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_flodmgr.tcl | ||
| @@ -17,11 +17,11 @@ | ||
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | |
| 21 | 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | -## | |
| 22 | +## | |
| 23 | 23 | |
| 24 | 24 | snit::type ::vc::fossil::import::cvs::file::lodmgr { |
| 25 | 25 | # # ## ### ##### ######## ############# |
| 26 | 26 | ## Public API |
| 27 | 27 | |
| 28 | 28 |
| --- tools/cvs2fossil/lib/c2f_flodmgr.tcl | |
| +++ tools/cvs2fossil/lib/c2f_flodmgr.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::file::lodmgr { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_flodmgr.tcl | |
| +++ tools/cvs2fossil/lib/c2f_flodmgr.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::file::lodmgr { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_frev.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_frev.tcl | ||
| @@ -19,11 +19,11 @@ | ||
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | package require vc::tools::misc ; # Text formatting |
| 21 | 21 | package require vc::fossil::import::cvs::state ; # State storage. |
| 22 | 22 | |
| 23 | 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | -## | |
| 24 | +## | |
| 25 | 25 | |
| 26 | 26 | snit::type ::vc::fossil::import::cvs::file::rev { |
| 27 | 27 | # # ## ### ##### ######## ############# |
| 28 | 28 | ## Public API |
| 29 | 29 | |
| @@ -396,11 +396,11 @@ | ||
| 396 | 396 | # myparentbranch - revision.bparent |
| 397 | 397 | # myoperation - revision.op |
| 398 | 398 | # myisondefaultbranch - revision.isdefault |
| 399 | 399 | # mydbparent - revision.dbparent |
| 400 | 400 | # mydbchild - revision.dbchild |
| 401 | - | |
| 401 | + | |
| 402 | 402 | |
| 403 | 403 | typevariable mybranchpattern {^((?:\d+\.\d+\.)+)(?:0\.)?(\d+)$} |
| 404 | 404 | # First a nonzero even number of digit groups with trailing dot |
| 405 | 405 | # CVS then sticks an extra 0 in here; RCS does not. |
| 406 | 406 | # And the last digit group. |
| 407 | 407 |
| --- tools/cvs2fossil/lib/c2f_frev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_frev.tcl | |
| @@ -19,11 +19,11 @@ | |
| 19 | package require snit ; # OO system. |
| 20 | package require vc::tools::misc ; # Text formatting |
| 21 | package require vc::fossil::import::cvs::state ; # State storage. |
| 22 | |
| 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | ## |
| 25 | |
| 26 | snit::type ::vc::fossil::import::cvs::file::rev { |
| 27 | # # ## ### ##### ######## ############# |
| 28 | ## Public API |
| 29 | |
| @@ -396,11 +396,11 @@ | |
| 396 | # myparentbranch - revision.bparent |
| 397 | # myoperation - revision.op |
| 398 | # myisondefaultbranch - revision.isdefault |
| 399 | # mydbparent - revision.dbparent |
| 400 | # mydbchild - revision.dbchild |
| 401 | |
| 402 | |
| 403 | typevariable mybranchpattern {^((?:\d+\.\d+\.)+)(?:0\.)?(\d+)$} |
| 404 | # First a nonzero even number of digit groups with trailing dot |
| 405 | # CVS then sticks an extra 0 in here; RCS does not. |
| 406 | # And the last digit group. |
| 407 |
| --- tools/cvs2fossil/lib/c2f_frev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_frev.tcl | |
| @@ -19,11 +19,11 @@ | |
| 19 | package require snit ; # OO system. |
| 20 | package require vc::tools::misc ; # Text formatting |
| 21 | package require vc::fossil::import::cvs::state ; # State storage. |
| 22 | |
| 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | ## |
| 25 | |
| 26 | snit::type ::vc::fossil::import::cvs::file::rev { |
| 27 | # # ## ### ##### ######## ############# |
| 28 | ## Public API |
| 29 | |
| @@ -396,11 +396,11 @@ | |
| 396 | # myparentbranch - revision.bparent |
| 397 | # myoperation - revision.op |
| 398 | # myisondefaultbranch - revision.isdefault |
| 399 | # mydbparent - revision.dbparent |
| 400 | # mydbchild - revision.dbchild |
| 401 | |
| 402 | |
| 403 | typevariable mybranchpattern {^((?:\d+\.\d+\.)+)(?:0\.)?(\d+)$} |
| 404 | # First a nonzero even number of digit groups with trailing dot |
| 405 | # CVS then sticks an extra 0 in here; RCS does not. |
| 406 | # And the last digit group. |
| 407 |
| --- tools/cvs2fossil/lib/c2f_fsym.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_fsym.tcl | ||
| @@ -20,11 +20,11 @@ | ||
| 20 | 20 | package require vc::tools::trouble ; # Error reporting. |
| 21 | 21 | package require vc::fossil::import::cvs::file::rev ; # CVS per file revisions. |
| 22 | 22 | package require vc::fossil::import::cvs::state ; # State storage. |
| 23 | 23 | |
| 24 | 24 | # # ## ### ##### ######## ############# ##################### |
| 25 | -## | |
| 25 | +## | |
| 26 | 26 | |
| 27 | 27 | snit::type ::vc::fossil::import::cvs::file::sym { |
| 28 | 28 | # # ## ### ##### ######## ############# |
| 29 | 29 | ## Public API |
| 30 | 30 | |
| @@ -204,19 +204,19 @@ | ||
| 204 | 204 | |
| 205 | 205 | # # ## ### ##### ######## ############# |
| 206 | 206 | ## State |
| 207 | 207 | |
| 208 | 208 | # Persistent: |
| 209 | - # Tag: myid - tag.tid | |
| 210 | - # myfile - tag.fid | |
| 211 | - # mylod - tag.lod | |
| 212 | - # mysymbol - tag.sid | |
| 209 | + # Tag: myid - tag.tid | |
| 210 | + # myfile - tag.fid | |
| 211 | + # mylod - tag.lod | |
| 212 | + # mysymbol - tag.sid | |
| 213 | 213 | # mytagrev - tag.rev |
| 214 | 214 | # |
| 215 | - # Branch: myid - branch.bid | |
| 216 | - # myfile - branch.fid | |
| 217 | - # mylod - branch.lod | |
| 215 | + # Branch: myid - branch.bid | |
| 216 | + # myfile - branch.fid | |
| 217 | + # mylod - branch.lod | |
| 218 | 218 | # mysymbol - branch.sid |
| 219 | 219 | # mybranchparent - branch.root |
| 220 | 220 | # mybranchchild - branch.first |
| 221 | 221 | # mynr - branch.bra |
| 222 | 222 | |
| 223 | 223 |
| --- tools/cvs2fossil/lib/c2f_fsym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_fsym.tcl | |
| @@ -20,11 +20,11 @@ | |
| 20 | package require vc::tools::trouble ; # Error reporting. |
| 21 | package require vc::fossil::import::cvs::file::rev ; # CVS per file revisions. |
| 22 | package require vc::fossil::import::cvs::state ; # State storage. |
| 23 | |
| 24 | # # ## ### ##### ######## ############# ##################### |
| 25 | ## |
| 26 | |
| 27 | snit::type ::vc::fossil::import::cvs::file::sym { |
| 28 | # # ## ### ##### ######## ############# |
| 29 | ## Public API |
| 30 | |
| @@ -204,19 +204,19 @@ | |
| 204 | |
| 205 | # # ## ### ##### ######## ############# |
| 206 | ## State |
| 207 | |
| 208 | # Persistent: |
| 209 | # Tag: myid - tag.tid |
| 210 | # myfile - tag.fid |
| 211 | # mylod - tag.lod |
| 212 | # mysymbol - tag.sid |
| 213 | # mytagrev - tag.rev |
| 214 | # |
| 215 | # Branch: myid - branch.bid |
| 216 | # myfile - branch.fid |
| 217 | # mylod - branch.lod |
| 218 | # mysymbol - branch.sid |
| 219 | # mybranchparent - branch.root |
| 220 | # mybranchchild - branch.first |
| 221 | # mynr - branch.bra |
| 222 | |
| 223 |
| --- tools/cvs2fossil/lib/c2f_fsym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_fsym.tcl | |
| @@ -20,11 +20,11 @@ | |
| 20 | package require vc::tools::trouble ; # Error reporting. |
| 21 | package require vc::fossil::import::cvs::file::rev ; # CVS per file revisions. |
| 22 | package require vc::fossil::import::cvs::state ; # State storage. |
| 23 | |
| 24 | # # ## ### ##### ######## ############# ##################### |
| 25 | ## |
| 26 | |
| 27 | snit::type ::vc::fossil::import::cvs::file::sym { |
| 28 | # # ## ### ##### ######## ############# |
| 29 | ## Public API |
| 30 | |
| @@ -204,19 +204,19 @@ | |
| 204 | |
| 205 | # # ## ### ##### ######## ############# |
| 206 | ## State |
| 207 | |
| 208 | # Persistent: |
| 209 | # Tag: myid - tag.tid |
| 210 | # myfile - tag.fid |
| 211 | # mylod - tag.lod |
| 212 | # mysymbol - tag.sid |
| 213 | # mytagrev - tag.rev |
| 214 | # |
| 215 | # Branch: myid - branch.bid |
| 216 | # myfile - branch.fid |
| 217 | # mylod - branch.lod |
| 218 | # mysymbol - branch.sid |
| 219 | # mybranchparent - branch.root |
| 220 | # mybranchchild - branch.first |
| 221 | # mynr - branch.bra |
| 222 | |
| 223 |
| --- tools/cvs2fossil/lib/c2f_ftrunk.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_ftrunk.tcl | ||
| @@ -17,11 +17,11 @@ | ||
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | |
| 21 | 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | -## | |
| 22 | +## | |
| 23 | 23 | |
| 24 | 24 | snit::type ::vc::fossil::import::cvs::file::trunk { |
| 25 | 25 | # # ## ### ##### ######## ############# |
| 26 | 26 | ## Public API |
| 27 | 27 | |
| 28 | 28 |
| --- tools/cvs2fossil/lib/c2f_ftrunk.tcl | |
| +++ tools/cvs2fossil/lib/c2f_ftrunk.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::file::trunk { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_ftrunk.tcl | |
| +++ tools/cvs2fossil/lib/c2f_ftrunk.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::file::trunk { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_integrity.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_integrity.tcl | ||
| @@ -21,11 +21,11 @@ | ||
| 21 | 21 | package require vc::tools::trouble ; # Error reporting. |
| 22 | 22 | package require vc::tools::log ; # User feedback. |
| 23 | 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | 24 | |
| 25 | 25 | # # ## ### ##### ######## ############# ##################### |
| 26 | -## | |
| 26 | +## | |
| 27 | 27 | |
| 28 | 28 | snit::type ::vc::fossil::import::cvs::integrity { |
| 29 | 29 | # # ## ### ##### ######## ############# |
| 30 | 30 | ## Public API |
| 31 | 31 | |
| @@ -39,10 +39,17 @@ | ||
| 39 | 39 | typemethod metarelaxed {} { |
| 40 | 40 | set n 0 |
| 41 | 41 | AllButMeta |
| 42 | 42 | return |
| 43 | 43 | } |
| 44 | + | |
| 45 | + typemethod changesets {} { | |
| 46 | + set n 0 | |
| 47 | + RevisionChangesets | |
| 48 | + SymbolChangesets | |
| 49 | + return | |
| 50 | + } | |
| 44 | 51 | |
| 45 | 52 | # # ## ### ##### ######## ############# |
| 46 | 53 | ## Internal methods |
| 47 | 54 | |
| 48 | 55 | proc AllButMeta {} { |
| 49 | 56 |
| --- tools/cvs2fossil/lib/c2f_integrity.tcl | |
| +++ tools/cvs2fossil/lib/c2f_integrity.tcl | |
| @@ -21,11 +21,11 @@ | |
| 21 | package require vc::tools::trouble ; # Error reporting. |
| 22 | package require vc::tools::log ; # User feedback. |
| 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | |
| 25 | # # ## ### ##### ######## ############# ##################### |
| 26 | ## |
| 27 | |
| 28 | snit::type ::vc::fossil::import::cvs::integrity { |
| 29 | # # ## ### ##### ######## ############# |
| 30 | ## Public API |
| 31 | |
| @@ -39,10 +39,17 @@ | |
| 39 | typemethod metarelaxed {} { |
| 40 | set n 0 |
| 41 | AllButMeta |
| 42 | return |
| 43 | } |
| 44 | |
| 45 | # # ## ### ##### ######## ############# |
| 46 | ## Internal methods |
| 47 | |
| 48 | proc AllButMeta {} { |
| 49 |
| --- tools/cvs2fossil/lib/c2f_integrity.tcl | |
| +++ tools/cvs2fossil/lib/c2f_integrity.tcl | |
| @@ -21,11 +21,11 @@ | |
| 21 | package require vc::tools::trouble ; # Error reporting. |
| 22 | package require vc::tools::log ; # User feedback. |
| 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | |
| 25 | # # ## ### ##### ######## ############# ##################### |
| 26 | ## |
| 27 | |
| 28 | snit::type ::vc::fossil::import::cvs::integrity { |
| 29 | # # ## ### ##### ######## ############# |
| 30 | ## Public API |
| 31 | |
| @@ -39,10 +39,17 @@ | |
| 39 | typemethod metarelaxed {} { |
| 40 | set n 0 |
| 41 | AllButMeta |
| 42 | return |
| 43 | } |
| 44 | |
| 45 | typemethod changesets {} { |
| 46 | set n 0 |
| 47 | RevisionChangesets |
| 48 | SymbolChangesets |
| 49 | return |
| 50 | } |
| 51 | |
| 52 | # # ## ### ##### ######## ############# |
| 53 | ## Internal methods |
| 54 | |
| 55 | proc AllButMeta {} { |
| 56 |
| --- tools/cvs2fossil/lib/c2f_option.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_option.tcl | ||
| @@ -29,11 +29,11 @@ | ||
| 29 | 29 | package require vc::fossil::import::cvs::state ; # State storage |
| 30 | 30 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 31 | 31 | package require vc::fossil::import::cvs::cyclebreaker ; # Breaking dependency cycles. |
| 32 | 32 | |
| 33 | 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | -## | |
| 34 | +## | |
| 35 | 35 | |
| 36 | 36 | snit::type ::vc::fossil::import::cvs::option { |
| 37 | 37 | # # ## ### ##### ######## ############# |
| 38 | 38 | ## Public API, Options. |
| 39 | 39 | |
| 40 | 40 |
| --- tools/cvs2fossil/lib/c2f_option.tcl | |
| +++ tools/cvs2fossil/lib/c2f_option.tcl | |
| @@ -29,11 +29,11 @@ | |
| 29 | package require vc::fossil::import::cvs::state ; # State storage |
| 30 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 31 | package require vc::fossil::import::cvs::cyclebreaker ; # Breaking dependency cycles. |
| 32 | |
| 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | ## |
| 35 | |
| 36 | snit::type ::vc::fossil::import::cvs::option { |
| 37 | # # ## ### ##### ######## ############# |
| 38 | ## Public API, Options. |
| 39 | |
| 40 |
| --- tools/cvs2fossil/lib/c2f_option.tcl | |
| +++ tools/cvs2fossil/lib/c2f_option.tcl | |
| @@ -29,11 +29,11 @@ | |
| 29 | package require vc::fossil::import::cvs::state ; # State storage |
| 30 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 31 | package require vc::fossil::import::cvs::cyclebreaker ; # Breaking dependency cycles. |
| 32 | |
| 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | ## |
| 35 | |
| 36 | snit::type ::vc::fossil::import::cvs::option { |
| 37 | # # ## ### ##### ######## ############# |
| 38 | ## Public API, Options. |
| 39 | |
| 40 |
| --- tools/cvs2fossil/lib/c2f_pass.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pass.tcl | ||
| @@ -24,11 +24,11 @@ | ||
| 24 | 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | 25 | package require vc::tools::log ; # User feedback. |
| 26 | 26 | package require struct::list ; # Portable lassign |
| 27 | 27 | |
| 28 | 28 | # # ## ### ##### ######## ############# ##################### |
| 29 | -## | |
| 29 | +## | |
| 30 | 30 | |
| 31 | 31 | snit::type ::vc::fossil::import::cvs::pass { |
| 32 | 32 | # # ## ### ##### ######## ############# |
| 33 | 33 | ## Public API, Methods (Setup, query) |
| 34 | 34 | |
| @@ -102,25 +102,25 @@ | ||
| 102 | 102 | set skipped [lrange $mypasses 0 [expr {$mystart - 1}]] |
| 103 | 103 | set run [lrange $mypasses $mystart $myend] |
| 104 | 104 | set defered [lrange $mypasses [expr {$myend + 1}] end] |
| 105 | 105 | |
| 106 | 106 | foreach p $skipped { |
| 107 | - log write 0 pass "Skip $p" | |
| 107 | + log write 0 pass "Skip $p" | |
| 108 | 108 | Call $p load |
| 109 | 109 | } |
| 110 | 110 | foreach p $run { |
| 111 | - log write 0 pass "Setup $p" | |
| 111 | + log write 0 pass "Setup $p" | |
| 112 | 112 | Call $p setup |
| 113 | 113 | } |
| 114 | 114 | foreach p $run { |
| 115 | - log write 0 pass "Begin $p" | |
| 115 | + log write 0 pass "Begin $p" | |
| 116 | 116 | Time $p [lindex [time {Call $p run} 1] 0] |
| 117 | 117 | log write 0 pass "Done $p" |
| 118 | 118 | trouble abort? |
| 119 | 119 | } |
| 120 | 120 | foreach p $defered { |
| 121 | - log write 0 pass "Defer $p" | |
| 121 | + log write 0 pass "Defer $p" | |
| 122 | 122 | Call $p discard |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | state release |
| 126 | 126 | ShowTimes |
| @@ -199,15 +199,15 @@ | ||
| 199 | 199 | namespace export pass |
| 200 | 200 | namespace eval pass { |
| 201 | 201 | namespace import ::vc::fossil::import::cvs::state |
| 202 | 202 | namespace import ::vc::tools::misc::* |
| 203 | 203 | namespace import ::vc::tools::trouble |
| 204 | - namespace import ::vc::tools::log | |
| 204 | + namespace import ::vc::tools::log | |
| 205 | 205 | log register pass |
| 206 | 206 | } |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | 209 | # # ## ### ##### ######## ############# ##################### |
| 210 | 210 | ## Ready |
| 211 | 211 | |
| 212 | 212 | package provide vc::fossil::import::cvs::pass 1.0 |
| 213 | 213 | return |
| 214 | 214 |
| --- tools/cvs2fossil/lib/c2f_pass.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pass.tcl | |
| @@ -24,11 +24,11 @@ | |
| 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | package require vc::tools::log ; # User feedback. |
| 26 | package require struct::list ; # Portable lassign |
| 27 | |
| 28 | # # ## ### ##### ######## ############# ##################### |
| 29 | ## |
| 30 | |
| 31 | snit::type ::vc::fossil::import::cvs::pass { |
| 32 | # # ## ### ##### ######## ############# |
| 33 | ## Public API, Methods (Setup, query) |
| 34 | |
| @@ -102,25 +102,25 @@ | |
| 102 | set skipped [lrange $mypasses 0 [expr {$mystart - 1}]] |
| 103 | set run [lrange $mypasses $mystart $myend] |
| 104 | set defered [lrange $mypasses [expr {$myend + 1}] end] |
| 105 | |
| 106 | foreach p $skipped { |
| 107 | log write 0 pass "Skip $p" |
| 108 | Call $p load |
| 109 | } |
| 110 | foreach p $run { |
| 111 | log write 0 pass "Setup $p" |
| 112 | Call $p setup |
| 113 | } |
| 114 | foreach p $run { |
| 115 | log write 0 pass "Begin $p" |
| 116 | Time $p [lindex [time {Call $p run} 1] 0] |
| 117 | log write 0 pass "Done $p" |
| 118 | trouble abort? |
| 119 | } |
| 120 | foreach p $defered { |
| 121 | log write 0 pass "Defer $p" |
| 122 | Call $p discard |
| 123 | } |
| 124 | |
| 125 | state release |
| 126 | ShowTimes |
| @@ -199,15 +199,15 @@ | |
| 199 | namespace export pass |
| 200 | namespace eval pass { |
| 201 | namespace import ::vc::fossil::import::cvs::state |
| 202 | namespace import ::vc::tools::misc::* |
| 203 | namespace import ::vc::tools::trouble |
| 204 | namespace import ::vc::tools::log |
| 205 | log register pass |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | # # ## ### ##### ######## ############# ##################### |
| 210 | ## Ready |
| 211 | |
| 212 | package provide vc::fossil::import::cvs::pass 1.0 |
| 213 | return |
| 214 |
| --- tools/cvs2fossil/lib/c2f_pass.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pass.tcl | |
| @@ -24,11 +24,11 @@ | |
| 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | package require vc::tools::log ; # User feedback. |
| 26 | package require struct::list ; # Portable lassign |
| 27 | |
| 28 | # # ## ### ##### ######## ############# ##################### |
| 29 | ## |
| 30 | |
| 31 | snit::type ::vc::fossil::import::cvs::pass { |
| 32 | # # ## ### ##### ######## ############# |
| 33 | ## Public API, Methods (Setup, query) |
| 34 | |
| @@ -102,25 +102,25 @@ | |
| 102 | set skipped [lrange $mypasses 0 [expr {$mystart - 1}]] |
| 103 | set run [lrange $mypasses $mystart $myend] |
| 104 | set defered [lrange $mypasses [expr {$myend + 1}] end] |
| 105 | |
| 106 | foreach p $skipped { |
| 107 | log write 0 pass "Skip $p" |
| 108 | Call $p load |
| 109 | } |
| 110 | foreach p $run { |
| 111 | log write 0 pass "Setup $p" |
| 112 | Call $p setup |
| 113 | } |
| 114 | foreach p $run { |
| 115 | log write 0 pass "Begin $p" |
| 116 | Time $p [lindex [time {Call $p run} 1] 0] |
| 117 | log write 0 pass "Done $p" |
| 118 | trouble abort? |
| 119 | } |
| 120 | foreach p $defered { |
| 121 | log write 0 pass "Defer $p" |
| 122 | Call $p discard |
| 123 | } |
| 124 | |
| 125 | state release |
| 126 | ShowTimes |
| @@ -199,15 +199,15 @@ | |
| 199 | namespace export pass |
| 200 | namespace eval pass { |
| 201 | namespace import ::vc::fossil::import::cvs::state |
| 202 | namespace import ::vc::tools::misc::* |
| 203 | namespace import ::vc::tools::trouble |
| 204 | namespace import ::vc::tools::log |
| 205 | log register pass |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | # # ## ### ##### ######## ############# ##################### |
| 210 | ## Ready |
| 211 | |
| 212 | package provide vc::fossil::import::cvs::pass 1.0 |
| 213 | return |
| 214 |
| --- tools/cvs2fossil/lib/c2f_patopsort.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_patopsort.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | AllTopologicalSort \ |
| 34 | 34 | {Topologically Sort All ChangeSets} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::atopsort |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::atopsort { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| @@ -148,11 +148,11 @@ | ||
| 148 | 148 | return $mylasttimestamp |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | typevariable mysymchangesets {} ; # Set of the symbol changesets. |
| 152 | 152 | typevariable mylasttimestamp 0 ; # Last delivered timestamp. |
| 153 | - typevariable mymaxtimestamp | |
| 153 | + typevariable mymaxtimestamp | |
| 154 | 154 | |
| 155 | 155 | typeconstructor { |
| 156 | 156 | # The maximum timestamp considered as reasonable is |
| 157 | 157 | # "now + 1 day". |
| 158 | 158 | set mymaxtimestamp [clock seconds] |
| 159 | 159 |
| --- tools/cvs2fossil/lib/c2f_patopsort.tcl | |
| +++ tools/cvs2fossil/lib/c2f_patopsort.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | AllTopologicalSort \ |
| 34 | {Topologically Sort All ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::atopsort |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::atopsort { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -148,11 +148,11 @@ | |
| 148 | return $mylasttimestamp |
| 149 | } |
| 150 | |
| 151 | typevariable mysymchangesets {} ; # Set of the symbol changesets. |
| 152 | typevariable mylasttimestamp 0 ; # Last delivered timestamp. |
| 153 | typevariable mymaxtimestamp |
| 154 | |
| 155 | typeconstructor { |
| 156 | # The maximum timestamp considered as reasonable is |
| 157 | # "now + 1 day". |
| 158 | set mymaxtimestamp [clock seconds] |
| 159 |
| --- tools/cvs2fossil/lib/c2f_patopsort.tcl | |
| +++ tools/cvs2fossil/lib/c2f_patopsort.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | AllTopologicalSort \ |
| 34 | {Topologically Sort All ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::atopsort |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::atopsort { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -148,11 +148,11 @@ | |
| 148 | return $mylasttimestamp |
| 149 | } |
| 150 | |
| 151 | typevariable mysymchangesets {} ; # Set of the symbol changesets. |
| 152 | typevariable mylasttimestamp 0 ; # Last delivered timestamp. |
| 153 | typevariable mymaxtimestamp |
| 154 | |
| 155 | typeconstructor { |
| 156 | # The maximum timestamp considered as reasonable is |
| 157 | # "now + 1 day". |
| 158 | set mymaxtimestamp [clock seconds] |
| 159 |
| --- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | ||
| @@ -38,11 +38,11 @@ | ||
| 38 | 38 | BreakAllCsetCycles \ |
| 39 | 39 | {Break Remaining ChangeSet Dependency Cycles} \ |
| 40 | 40 | ::vc::fossil::import::cvs::pass::breakacycle |
| 41 | 41 | |
| 42 | 42 | # # ## ### ##### ######## ############# ##################### |
| 43 | -## | |
| 43 | +## | |
| 44 | 44 | |
| 45 | 45 | snit::type ::vc::fossil::import::cvs::pass::breakacycle { |
| 46 | 46 | # # ## ### ##### ######## ############# |
| 47 | 47 | ## Public API |
| 48 | 48 | |
| 49 | 49 |
| --- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | |
| @@ -38,11 +38,11 @@ | |
| 38 | BreakAllCsetCycles \ |
| 39 | {Break Remaining ChangeSet Dependency Cycles} \ |
| 40 | ::vc::fossil::import::cvs::pass::breakacycle |
| 41 | |
| 42 | # # ## ### ##### ######## ############# ##################### |
| 43 | ## |
| 44 | |
| 45 | snit::type ::vc::fossil::import::cvs::pass::breakacycle { |
| 46 | # # ## ### ##### ######## ############# |
| 47 | ## Public API |
| 48 | |
| 49 |
| --- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl | |
| @@ -38,11 +38,11 @@ | |
| 38 | BreakAllCsetCycles \ |
| 39 | {Break Remaining ChangeSet Dependency Cycles} \ |
| 40 | ::vc::fossil::import::cvs::pass::breakacycle |
| 41 | |
| 42 | # # ## ### ##### ######## ############# ##################### |
| 43 | ## |
| 44 | |
| 45 | snit::type ::vc::fossil::import::cvs::pass::breakacycle { |
| 46 | # # ## ### ##### ######## ############# |
| 47 | ## Public API |
| 48 | |
| 49 |
| --- tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | BreakRevCsetCycles \ |
| 35 | 35 | {Break Revision ChangeSet Dependency Cycles} \ |
| 36 | 36 | ::vc::fossil::import::cvs::pass::breakrcycle |
| 37 | 37 | |
| 38 | 38 | # # ## ### ##### ######## ############# ##################### |
| 39 | -## | |
| 39 | +## | |
| 40 | 40 | |
| 41 | 41 | snit::type ::vc::fossil::import::cvs::pass::breakrcycle { |
| 42 | 42 | # # ## ### ##### ######## ############# |
| 43 | 43 | ## Public API |
| 44 | 44 | |
| 45 | 45 |
| --- tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | |
| @@ -34,11 +34,11 @@ | |
| 34 | BreakRevCsetCycles \ |
| 35 | {Break Revision ChangeSet Dependency Cycles} \ |
| 36 | ::vc::fossil::import::cvs::pass::breakrcycle |
| 37 | |
| 38 | # # ## ### ##### ######## ############# ##################### |
| 39 | ## |
| 40 | |
| 41 | snit::type ::vc::fossil::import::cvs::pass::breakrcycle { |
| 42 | # # ## ### ##### ######## ############# |
| 43 | ## Public API |
| 44 | |
| 45 |
| --- tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl | |
| @@ -34,11 +34,11 @@ | |
| 34 | BreakRevCsetCycles \ |
| 35 | {Break Revision ChangeSet Dependency Cycles} \ |
| 36 | ::vc::fossil::import::cvs::pass::breakrcycle |
| 37 | |
| 38 | # # ## ### ##### ######## ############# ##################### |
| 39 | ## |
| 40 | |
| 41 | snit::type ::vc::fossil::import::cvs::pass::breakrcycle { |
| 42 | # # ## ### ##### ######## ############# |
| 43 | ## Public API |
| 44 | |
| 45 |
| --- tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | BreakSymCsetCycles \ |
| 34 | 34 | {Break Symbol ChangeSet Dependency Cycles} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::breakscycle |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::breakscycle { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| 44 | 44 |
| --- tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | BreakSymCsetCycles \ |
| 34 | {Break Symbol ChangeSet Dependency Cycles} \ |
| 35 | ::vc::fossil::import::cvs::pass::breakscycle |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::breakscycle { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| 44 |
| --- tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pbreakscycle.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | BreakSymCsetCycles \ |
| 34 | {Break Symbol ChangeSet Dependency Cycles} \ |
| 35 | ::vc::fossil::import::cvs::pass::breakscycle |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::breakscycle { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| 44 |
| --- tools/cvs2fossil/lib/c2f_pcollar.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pcollar.tcl | ||
| @@ -35,11 +35,11 @@ | ||
| 35 | 35 | CollectAr \ |
| 36 | 36 | {Collect archives in repository} \ |
| 37 | 37 | ::vc::fossil::import::cvs::pass::collar |
| 38 | 38 | |
| 39 | 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | -## | |
| 40 | +## | |
| 41 | 41 | |
| 42 | 42 | snit::type ::vc::fossil::import::cvs::pass::collar { |
| 43 | 43 | # # ## ### ##### ######## ############# |
| 44 | 44 | ## Public API |
| 45 | 45 | |
| @@ -78,11 +78,11 @@ | ||
| 78 | 78 | UNIQUE (pid, name) -- file names are unique within a project |
| 79 | 79 | } |
| 80 | 80 | return |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - typemethod load {} { | |
| 83 | + typemethod load {} { | |
| 84 | 84 | # Pass manager interface. Executed for all passes before the |
| 85 | 85 | # run passes, to load all data of their pass from the state, |
| 86 | 86 | # as if it had been computed by the pass itself. |
| 87 | 87 | |
| 88 | 88 | state reading project |
| 89 | 89 |
| --- tools/cvs2fossil/lib/c2f_pcollar.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollar.tcl | |
| @@ -35,11 +35,11 @@ | |
| 35 | CollectAr \ |
| 36 | {Collect archives in repository} \ |
| 37 | ::vc::fossil::import::cvs::pass::collar |
| 38 | |
| 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | ## |
| 41 | |
| 42 | snit::type ::vc::fossil::import::cvs::pass::collar { |
| 43 | # # ## ### ##### ######## ############# |
| 44 | ## Public API |
| 45 | |
| @@ -78,11 +78,11 @@ | |
| 78 | UNIQUE (pid, name) -- file names are unique within a project |
| 79 | } |
| 80 | return |
| 81 | } |
| 82 | |
| 83 | typemethod load {} { |
| 84 | # Pass manager interface. Executed for all passes before the |
| 85 | # run passes, to load all data of their pass from the state, |
| 86 | # as if it had been computed by the pass itself. |
| 87 | |
| 88 | state reading project |
| 89 |
| --- tools/cvs2fossil/lib/c2f_pcollar.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollar.tcl | |
| @@ -35,11 +35,11 @@ | |
| 35 | CollectAr \ |
| 36 | {Collect archives in repository} \ |
| 37 | ::vc::fossil::import::cvs::pass::collar |
| 38 | |
| 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | ## |
| 41 | |
| 42 | snit::type ::vc::fossil::import::cvs::pass::collar { |
| 43 | # # ## ### ##### ######## ############# |
| 44 | ## Public API |
| 45 | |
| @@ -78,11 +78,11 @@ | |
| 78 | UNIQUE (pid, name) -- file names are unique within a project |
| 79 | } |
| 80 | return |
| 81 | } |
| 82 | |
| 83 | typemethod load {} { |
| 84 | # Pass manager interface. Executed for all passes before the |
| 85 | # run passes, to load all data of their pass from the state, |
| 86 | # as if it had been computed by the pass itself. |
| 87 | |
| 88 | state reading project |
| 89 |
| --- tools/cvs2fossil/lib/c2f_pcollrev.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pcollrev.tcl | ||
| @@ -35,11 +35,11 @@ | ||
| 35 | 35 | CollectRev \ |
| 36 | 36 | {Collect revisions and symbols} \ |
| 37 | 37 | ::vc::fossil::import::cvs::pass::collrev |
| 38 | 38 | |
| 39 | 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | -## | |
| 40 | +## | |
| 41 | 41 | |
| 42 | 42 | snit::type ::vc::fossil::import::cvs::pass::collrev { |
| 43 | 43 | # # ## ### ##### ######## ############# |
| 44 | 44 | ## Public API |
| 45 | 45 | |
| @@ -212,20 +212,20 @@ | ||
| 212 | 212 | |
| 213 | 213 | state writing blocker { |
| 214 | 214 | -- For each symbol we save which other symbols are |
| 215 | 215 | -- blocking its removal (if the user asks for it). |
| 216 | 216 | |
| 217 | - sid INTEGER NOT NULL REFERENCES symbol, -- | |
| 217 | + sid INTEGER NOT NULL REFERENCES symbol, -- | |
| 218 | 218 | bid INTEGER NOT NULL REFERENCES symbol, -- Sprouted from sid, blocks it. |
| 219 | 219 | UNIQUE (sid, bid) |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | state writing parent { |
| 223 | 223 | -- For each symbol we save which other symbols can act as |
| 224 | 224 | -- a possible parent in some file, and how often. |
| 225 | 225 | |
| 226 | - sid INTEGER NOT NULL REFERENCES symbol, -- | |
| 226 | + sid INTEGER NOT NULL REFERENCES symbol, -- | |
| 227 | 227 | pid INTEGER NOT NULL REFERENCES symbol, -- Possible parent of sid |
| 228 | 228 | n INTEGER NOT NULL, -- How often pid can act as parent. |
| 229 | 229 | UNIQUE (sid, pid) |
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 |
| --- tools/cvs2fossil/lib/c2f_pcollrev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollrev.tcl | |
| @@ -35,11 +35,11 @@ | |
| 35 | CollectRev \ |
| 36 | {Collect revisions and symbols} \ |
| 37 | ::vc::fossil::import::cvs::pass::collrev |
| 38 | |
| 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | ## |
| 41 | |
| 42 | snit::type ::vc::fossil::import::cvs::pass::collrev { |
| 43 | # # ## ### ##### ######## ############# |
| 44 | ## Public API |
| 45 | |
| @@ -212,20 +212,20 @@ | |
| 212 | |
| 213 | state writing blocker { |
| 214 | -- For each symbol we save which other symbols are |
| 215 | -- blocking its removal (if the user asks for it). |
| 216 | |
| 217 | sid INTEGER NOT NULL REFERENCES symbol, -- |
| 218 | bid INTEGER NOT NULL REFERENCES symbol, -- Sprouted from sid, blocks it. |
| 219 | UNIQUE (sid, bid) |
| 220 | } |
| 221 | |
| 222 | state writing parent { |
| 223 | -- For each symbol we save which other symbols can act as |
| 224 | -- a possible parent in some file, and how often. |
| 225 | |
| 226 | sid INTEGER NOT NULL REFERENCES symbol, -- |
| 227 | pid INTEGER NOT NULL REFERENCES symbol, -- Possible parent of sid |
| 228 | n INTEGER NOT NULL, -- How often pid can act as parent. |
| 229 | UNIQUE (sid, pid) |
| 230 | } |
| 231 | |
| 232 |
| --- tools/cvs2fossil/lib/c2f_pcollrev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollrev.tcl | |
| @@ -35,11 +35,11 @@ | |
| 35 | CollectRev \ |
| 36 | {Collect revisions and symbols} \ |
| 37 | ::vc::fossil::import::cvs::pass::collrev |
| 38 | |
| 39 | # # ## ### ##### ######## ############# ##################### |
| 40 | ## |
| 41 | |
| 42 | snit::type ::vc::fossil::import::cvs::pass::collrev { |
| 43 | # # ## ### ##### ######## ############# |
| 44 | ## Public API |
| 45 | |
| @@ -212,20 +212,20 @@ | |
| 212 | |
| 213 | state writing blocker { |
| 214 | -- For each symbol we save which other symbols are |
| 215 | -- blocking its removal (if the user asks for it). |
| 216 | |
| 217 | sid INTEGER NOT NULL REFERENCES symbol, -- |
| 218 | bid INTEGER NOT NULL REFERENCES symbol, -- Sprouted from sid, blocks it. |
| 219 | UNIQUE (sid, bid) |
| 220 | } |
| 221 | |
| 222 | state writing parent { |
| 223 | -- For each symbol we save which other symbols can act as |
| 224 | -- a possible parent in some file, and how often. |
| 225 | |
| 226 | sid INTEGER NOT NULL REFERENCES symbol, -- |
| 227 | pid INTEGER NOT NULL REFERENCES symbol, -- Possible parent of sid |
| 228 | n INTEGER NOT NULL, -- How often pid can act as parent. |
| 229 | UNIQUE (sid, pid) |
| 230 | } |
| 231 | |
| 232 |
| --- tools/cvs2fossil/lib/c2f_pcollsym.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pcollsym.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | CollateSymbols \ |
| 34 | 34 | {Collate symbols} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::collsym |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::collsym { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| @@ -182,11 +182,11 @@ | ||
| 182 | 182 | AND S.type = $tag |
| 183 | 183 | AND S.commit_count > 0 |
| 184 | 184 | }] { |
| 185 | 185 | trouble fatal "$pname : The symbol '$sname' cannot be forced to be converted as tag because it has commits." |
| 186 | 186 | } |
| 187 | - return | |
| 187 | + return | |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | proc DropExcludedSymbolsFromReferences {} { |
| 191 | 191 | # The excluded symbols cann be used as blockers nor as |
| 192 | 192 | # possible parent for other symbols. We now drop the relevant |
| 193 | 193 |
| --- tools/cvs2fossil/lib/c2f_pcollsym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollsym.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | CollateSymbols \ |
| 34 | {Collate symbols} \ |
| 35 | ::vc::fossil::import::cvs::pass::collsym |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::collsym { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -182,11 +182,11 @@ | |
| 182 | AND S.type = $tag |
| 183 | AND S.commit_count > 0 |
| 184 | }] { |
| 185 | trouble fatal "$pname : The symbol '$sname' cannot be forced to be converted as tag because it has commits." |
| 186 | } |
| 187 | return |
| 188 | } |
| 189 | |
| 190 | proc DropExcludedSymbolsFromReferences {} { |
| 191 | # The excluded symbols cann be used as blockers nor as |
| 192 | # possible parent for other symbols. We now drop the relevant |
| 193 |
| --- tools/cvs2fossil/lib/c2f_pcollsym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pcollsym.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | CollateSymbols \ |
| 34 | {Collate symbols} \ |
| 35 | ::vc::fossil::import::cvs::pass::collsym |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::collsym { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -182,11 +182,11 @@ | |
| 182 | AND S.type = $tag |
| 183 | AND S.commit_count > 0 |
| 184 | }] { |
| 185 | trouble fatal "$pname : The symbol '$sname' cannot be forced to be converted as tag because it has commits." |
| 186 | } |
| 187 | return |
| 188 | } |
| 189 | |
| 190 | proc DropExcludedSymbolsFromReferences {} { |
| 191 | # The excluded symbols cann be used as blockers nor as |
| 192 | # possible parent for other symbols. We now drop the relevant |
| 193 |
| --- tools/cvs2fossil/lib/c2f_pfiltersym.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | FilterSymbols \ |
| 34 | 34 | {Filter symbols, remove all excluded pieces} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::filtersym |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::filtersym { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| @@ -314,21 +314,21 @@ | ||
| 314 | 314 | FROM tag T, preferedparent P, symbol S, revision R |
| 315 | 315 | WHERE T.sid = P.sid |
| 316 | 316 | AND T.lod != P.pid |
| 317 | 317 | AND P.pid = S.sid |
| 318 | 318 | AND S.name != ':trunk:' |
| 319 | - AND T.rev = R.rid | |
| 319 | + AND T.rev = R.rid | |
| 320 | 320 | }] |
| 321 | 321 | |
| 322 | 322 | set branchestoadjust [state run { |
| 323 | 323 | SELECT B.bid, B.fid, B.lod, B.pos, P.pid, S.name, R.rev, R.rid |
| 324 | 324 | FROM branch B, preferedparent P, symbol S, revision R |
| 325 | 325 | WHERE B.sid = P.sid |
| 326 | 326 | AND B.lod != P.pid |
| 327 | 327 | AND P.pid = S.sid |
| 328 | 328 | AND S.name != ':trunk:' |
| 329 | - AND B.root = R.rid | |
| 329 | + AND B.root = R.rid | |
| 330 | 330 | }] |
| 331 | 331 | |
| 332 | 332 | set tmax [expr {[llength $tagstoadjust] / 7}] |
| 333 | 333 | set bmax [expr {[llength $branchestoadjust] / 8}] |
| 334 | 334 | |
| 335 | 335 |
| --- tools/cvs2fossil/lib/c2f_pfiltersym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | FilterSymbols \ |
| 34 | {Filter symbols, remove all excluded pieces} \ |
| 35 | ::vc::fossil::import::cvs::pass::filtersym |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::filtersym { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -314,21 +314,21 @@ | |
| 314 | FROM tag T, preferedparent P, symbol S, revision R |
| 315 | WHERE T.sid = P.sid |
| 316 | AND T.lod != P.pid |
| 317 | AND P.pid = S.sid |
| 318 | AND S.name != ':trunk:' |
| 319 | AND T.rev = R.rid |
| 320 | }] |
| 321 | |
| 322 | set branchestoadjust [state run { |
| 323 | SELECT B.bid, B.fid, B.lod, B.pos, P.pid, S.name, R.rev, R.rid |
| 324 | FROM branch B, preferedparent P, symbol S, revision R |
| 325 | WHERE B.sid = P.sid |
| 326 | AND B.lod != P.pid |
| 327 | AND P.pid = S.sid |
| 328 | AND S.name != ':trunk:' |
| 329 | AND B.root = R.rid |
| 330 | }] |
| 331 | |
| 332 | set tmax [expr {[llength $tagstoadjust] / 7}] |
| 333 | set bmax [expr {[llength $branchestoadjust] / 8}] |
| 334 | |
| 335 |
| --- tools/cvs2fossil/lib/c2f_pfiltersym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | FilterSymbols \ |
| 34 | {Filter symbols, remove all excluded pieces} \ |
| 35 | ::vc::fossil::import::cvs::pass::filtersym |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::filtersym { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -314,21 +314,21 @@ | |
| 314 | FROM tag T, preferedparent P, symbol S, revision R |
| 315 | WHERE T.sid = P.sid |
| 316 | AND T.lod != P.pid |
| 317 | AND P.pid = S.sid |
| 318 | AND S.name != ':trunk:' |
| 319 | AND T.rev = R.rid |
| 320 | }] |
| 321 | |
| 322 | set branchestoadjust [state run { |
| 323 | SELECT B.bid, B.fid, B.lod, B.pos, P.pid, S.name, R.rev, R.rid |
| 324 | FROM branch B, preferedparent P, symbol S, revision R |
| 325 | WHERE B.sid = P.sid |
| 326 | AND B.lod != P.pid |
| 327 | AND P.pid = S.sid |
| 328 | AND S.name != ':trunk:' |
| 329 | AND B.root = R.rid |
| 330 | }] |
| 331 | |
| 332 | set tmax [expr {[llength $tagstoadjust] / 7}] |
| 333 | set bmax [expr {[llength $branchestoadjust] / 8}] |
| 334 | |
| 335 |
| --- tools/cvs2fossil/lib/c2f_pinitcsets.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_pinitcsets.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | InitCsets \ |
| 34 | 34 | {Initialize ChangeSets} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::initcsets |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::initcsets { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| @@ -78,11 +78,11 @@ | ||
| 78 | 78 | # within a changeset. They are unique within the changeset. |
| 79 | 79 | # The revisions are in principle unique, if we were looking |
| 80 | 80 | # only at revision changesets. However a revision can appear |
| 81 | 81 | # in both revision and symbol changesets, and in multiple |
| 82 | 82 | # symbol changesets as well. So we can only say that it is |
| 83 | - # unique within the changeset. | |
| 83 | + # unique within the changeset. | |
| 84 | 84 | # |
| 85 | 85 | # TODO: Check if integrity checks are possible. |
| 86 | 86 | |
| 87 | 87 | state writing csrevision { |
| 88 | 88 | cid INTEGER NOT NULL REFERENCES changeset, |
| 89 | 89 |
| --- tools/cvs2fossil/lib/c2f_pinitcsets.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pinitcsets.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | InitCsets \ |
| 34 | {Initialize ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::initcsets |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::initcsets { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -78,11 +78,11 @@ | |
| 78 | # within a changeset. They are unique within the changeset. |
| 79 | # The revisions are in principle unique, if we were looking |
| 80 | # only at revision changesets. However a revision can appear |
| 81 | # in both revision and symbol changesets, and in multiple |
| 82 | # symbol changesets as well. So we can only say that it is |
| 83 | # unique within the changeset. |
| 84 | # |
| 85 | # TODO: Check if integrity checks are possible. |
| 86 | |
| 87 | state writing csrevision { |
| 88 | cid INTEGER NOT NULL REFERENCES changeset, |
| 89 |
| --- tools/cvs2fossil/lib/c2f_pinitcsets.tcl | |
| +++ tools/cvs2fossil/lib/c2f_pinitcsets.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | InitCsets \ |
| 34 | {Initialize ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::initcsets |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::initcsets { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| @@ -78,11 +78,11 @@ | |
| 78 | # within a changeset. They are unique within the changeset. |
| 79 | # The revisions are in principle unique, if we were looking |
| 80 | # only at revision changesets. However a revision can appear |
| 81 | # in both revision and symbol changesets, and in multiple |
| 82 | # symbol changesets as well. So we can only say that it is |
| 83 | # unique within the changeset. |
| 84 | # |
| 85 | # TODO: Check if integrity checks are possible. |
| 86 | |
| 87 | state writing csrevision { |
| 88 | cid INTEGER NOT NULL REFERENCES changeset, |
| 89 |
| --- tools/cvs2fossil/lib/c2f_plodmgr.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_plodmgr.tcl | ||
| @@ -17,11 +17,11 @@ | ||
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | |
| 21 | 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | -## | |
| 22 | +## | |
| 23 | 23 | |
| 24 | 24 | snit::type ::vc::fossil::import::cvs::project::lodmgr { |
| 25 | 25 | # # ## ### ##### ######## ############# |
| 26 | 26 | ## Public API |
| 27 | 27 | |
| 28 | 28 |
| --- tools/cvs2fossil/lib/c2f_plodmgr.tcl | |
| +++ tools/cvs2fossil/lib/c2f_plodmgr.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::project::lodmgr { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_plodmgr.tcl | |
| +++ tools/cvs2fossil/lib/c2f_plodmgr.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::project::lodmgr { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_prev.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_prev.tcl | ||
| @@ -23,11 +23,11 @@ | ||
| 23 | 23 | package require vc::tools::log ; # User feedback. |
| 24 | 24 | package require vc::fossil::import::cvs::state ; # State storage. |
| 25 | 25 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 26 | 26 | |
| 27 | 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | -## | |
| 28 | +## | |
| 29 | 29 | |
| 30 | 30 | snit::type ::vc::fossil::import::cvs::project::rev { |
| 31 | 31 | # # ## ### ##### ######## ############# |
| 32 | 32 | ## Public API |
| 33 | 33 | |
| @@ -37,12 +37,12 @@ | ||
| 37 | 37 | } else { |
| 38 | 38 | set myid [incr mycounter] |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | set myproject $project |
| 42 | - set mytype $cstype | |
| 43 | - set mysrcid $srcid | |
| 42 | + set mytype $cstype | |
| 43 | + set mysrcid $srcid | |
| 44 | 44 | set myrevisions $revisions |
| 45 | 45 | set mypos {} ; # Commit location is not known yet. |
| 46 | 46 | |
| 47 | 47 | # Keep track of the generated changesets and of the inverse |
| 48 | 48 | # mapping from revisions to them. |
| @@ -571,11 +571,11 @@ | ||
| 571 | 571 | array set pos {} |
| 572 | 572 | array set cross {} |
| 573 | 573 | array set depc {} |
| 574 | 574 | set range {} |
| 575 | 575 | set n 0 |
| 576 | - foreach rev $revisions { | |
| 576 | + foreach rev $revisions { | |
| 577 | 577 | lappend range $n |
| 578 | 578 | set pos($rev) $n |
| 579 | 579 | set cross($n) 0 |
| 580 | 580 | incr n |
| 581 | 581 | } |
| 582 | 582 |
| --- tools/cvs2fossil/lib/c2f_prev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prev.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require vc::tools::log ; # User feedback. |
| 24 | package require vc::fossil::import::cvs::state ; # State storage. |
| 25 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::project::rev { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| @@ -37,12 +37,12 @@ | |
| 37 | } else { |
| 38 | set myid [incr mycounter] |
| 39 | } |
| 40 | |
| 41 | set myproject $project |
| 42 | set mytype $cstype |
| 43 | set mysrcid $srcid |
| 44 | set myrevisions $revisions |
| 45 | set mypos {} ; # Commit location is not known yet. |
| 46 | |
| 47 | # Keep track of the generated changesets and of the inverse |
| 48 | # mapping from revisions to them. |
| @@ -571,11 +571,11 @@ | |
| 571 | array set pos {} |
| 572 | array set cross {} |
| 573 | array set depc {} |
| 574 | set range {} |
| 575 | set n 0 |
| 576 | foreach rev $revisions { |
| 577 | lappend range $n |
| 578 | set pos($rev) $n |
| 579 | set cross($n) 0 |
| 580 | incr n |
| 581 | } |
| 582 |
| --- tools/cvs2fossil/lib/c2f_prev.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prev.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require vc::tools::log ; # User feedback. |
| 24 | package require vc::fossil::import::cvs::state ; # State storage. |
| 25 | package require vc::fossil::import::cvs::project::sym ; # Project level symbols |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::project::rev { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| @@ -37,12 +37,12 @@ | |
| 37 | } else { |
| 38 | set myid [incr mycounter] |
| 39 | } |
| 40 | |
| 41 | set myproject $project |
| 42 | set mytype $cstype |
| 43 | set mysrcid $srcid |
| 44 | set myrevisions $revisions |
| 45 | set mypos {} ; # Commit location is not known yet. |
| 46 | |
| 47 | # Keep track of the generated changesets and of the inverse |
| 48 | # mapping from revisions to them. |
| @@ -571,11 +571,11 @@ | |
| 571 | array set pos {} |
| 572 | array set cross {} |
| 573 | array set depc {} |
| 574 | set range {} |
| 575 | set n 0 |
| 576 | foreach rev $revisions { |
| 577 | lappend range $n |
| 578 | set pos($rev) $n |
| 579 | set cross($n) 0 |
| 580 | incr n |
| 581 | } |
| 582 |
| --- tools/cvs2fossil/lib/c2f_prevlink.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_prevlink.tcl | ||
| @@ -29,11 +29,11 @@ | ||
| 29 | 29 | package require vc::tools::log ; # User feedback. |
| 30 | 30 | package require vc::fossil::import::cvs::state ; # State storage. |
| 31 | 31 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 32 | 32 | |
| 33 | 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | -## | |
| 34 | +## | |
| 35 | 35 | |
| 36 | 36 | snit::type ::vc::fossil::import::cvs::project::revlink { |
| 37 | 37 | # # ## ### ##### ######## ############# |
| 38 | 38 | ## Public API |
| 39 | 39 | |
| 40 | 40 |
| --- tools/cvs2fossil/lib/c2f_prevlink.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prevlink.tcl | |
| @@ -29,11 +29,11 @@ | |
| 29 | package require vc::tools::log ; # User feedback. |
| 30 | package require vc::fossil::import::cvs::state ; # State storage. |
| 31 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 32 | |
| 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | ## |
| 35 | |
| 36 | snit::type ::vc::fossil::import::cvs::project::revlink { |
| 37 | # # ## ### ##### ######## ############# |
| 38 | ## Public API |
| 39 | |
| 40 |
| --- tools/cvs2fossil/lib/c2f_prevlink.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prevlink.tcl | |
| @@ -29,11 +29,11 @@ | |
| 29 | package require vc::tools::log ; # User feedback. |
| 30 | package require vc::fossil::import::cvs::state ; # State storage. |
| 31 | package require vc::fossil::import::cvs::project::rev ; # Project level changesets |
| 32 | |
| 33 | # # ## ### ##### ######## ############# ##################### |
| 34 | ## |
| 35 | |
| 36 | snit::type ::vc::fossil::import::cvs::project::revlink { |
| 37 | # # ## ### ##### ######## ############# |
| 38 | ## Public API |
| 39 | |
| 40 |
| --- tools/cvs2fossil/lib/c2f_project.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_project.tcl | ||
| @@ -23,11 +23,11 @@ | ||
| 23 | 23 | package require vc::fossil::import::cvs::project::trunk ; # Per project trunk, main lod |
| 24 | 24 | package require vc::tools::log ; # User feedback |
| 25 | 25 | package require struct::list ; # Advanced list operations.. |
| 26 | 26 | |
| 27 | 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | -## | |
| 28 | +## | |
| 29 | 29 | |
| 30 | 30 | snit::type ::vc::fossil::import::cvs::project { |
| 31 | 31 | # # ## ### ##### ######## ############# |
| 32 | 32 | ## Public API |
| 33 | 33 | |
| 34 | 34 |
| --- tools/cvs2fossil/lib/c2f_project.tcl | |
| +++ tools/cvs2fossil/lib/c2f_project.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require vc::fossil::import::cvs::project::trunk ; # Per project trunk, main lod |
| 24 | package require vc::tools::log ; # User feedback |
| 25 | package require struct::list ; # Advanced list operations.. |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::project { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| 34 |
| --- tools/cvs2fossil/lib/c2f_project.tcl | |
| +++ tools/cvs2fossil/lib/c2f_project.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require vc::fossil::import::cvs::project::trunk ; # Per project trunk, main lod |
| 24 | package require vc::tools::log ; # User feedback |
| 25 | package require struct::list ; # Advanced list operations.. |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::project { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| 34 |
| --- tools/cvs2fossil/lib/c2f_prtopsort.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_prtopsort.tcl | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | RevTopologicalSort \ |
| 34 | 34 | {Topologically Sort Revision ChangeSets} \ |
| 35 | 35 | ::vc::fossil::import::cvs::pass::rtopsort |
| 36 | 36 | |
| 37 | 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | -## | |
| 38 | +## | |
| 39 | 39 | |
| 40 | 40 | snit::type ::vc::fossil::import::cvs::pass::rtopsort { |
| 41 | 41 | # # ## ### ##### ######## ############# |
| 42 | 42 | ## Public API |
| 43 | 43 | |
| 44 | 44 |
| --- tools/cvs2fossil/lib/c2f_prtopsort.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prtopsort.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | RevTopologicalSort \ |
| 34 | {Topologically Sort Revision ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::rtopsort |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::rtopsort { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| 44 |
| --- tools/cvs2fossil/lib/c2f_prtopsort.tcl | |
| +++ tools/cvs2fossil/lib/c2f_prtopsort.tcl | |
| @@ -33,11 +33,11 @@ | |
| 33 | RevTopologicalSort \ |
| 34 | {Topologically Sort Revision ChangeSets} \ |
| 35 | ::vc::fossil::import::cvs::pass::rtopsort |
| 36 | |
| 37 | # # ## ### ##### ######## ############# ##################### |
| 38 | ## |
| 39 | |
| 40 | snit::type ::vc::fossil::import::cvs::pass::rtopsort { |
| 41 | # # ## ### ##### ######## ############# |
| 42 | ## Public API |
| 43 | |
| 44 |
| --- tools/cvs2fossil/lib/c2f_psym.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_psym.tcl | ||
| @@ -22,11 +22,11 @@ | ||
| 22 | 22 | package require vc::tools::misc ; # Text formatting. |
| 23 | 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | 24 | package require struct::set ; # Set handling. |
| 25 | 25 | |
| 26 | 26 | # # ## ### ##### ######## ############# ##################### |
| 27 | -## | |
| 27 | +## | |
| 28 | 28 | |
| 29 | 29 | snit::type ::vc::fossil::import::cvs::project::sym { |
| 30 | 30 | # # ## ### ##### ######## ############# |
| 31 | 31 | ## Public API |
| 32 | 32 | |
| @@ -57,11 +57,11 @@ | ||
| 57 | 57 | # - Is usage unambigous ? |
| 58 | 58 | # - Was there ever a commit on the symbol ? |
| 59 | 59 | # - More used as tag, or more used as branch ? |
| 60 | 60 | # - At last, what has the user told us about it ? |
| 61 | 61 | # - Fail |
| 62 | - | |
| 62 | + | |
| 63 | 63 | foreach rule { |
| 64 | 64 | UserConfig |
| 65 | 65 | Unambigous |
| 66 | 66 | HasCommits |
| 67 | 67 | VoteCounts |
| @@ -336,11 +336,11 @@ | ||
| 336 | 336 | |
| 337 | 337 | method Unambigous {} { |
| 338 | 338 | # If a symbol is used unambiguously as a tag/branch, convert |
| 339 | 339 | # it as such. |
| 340 | 340 | |
| 341 | - set istag [expr {$mytagcount > 0}] | |
| 341 | + set istag [expr {$mytagcount > 0}] | |
| 342 | 342 | set isbranch [expr {$mybranchcount > 0 || $mycommitcount > 0}] |
| 343 | 343 | |
| 344 | 344 | if {$istag && $isbranch} { return $myundef } |
| 345 | 345 | if {$istag} { return $mytag } |
| 346 | 346 | if {$isbranch} { return $mybranch } |
| 347 | 347 |
| --- tools/cvs2fossil/lib/c2f_psym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_psym.tcl | |
| @@ -22,11 +22,11 @@ | |
| 22 | package require vc::tools::misc ; # Text formatting. |
| 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | package require struct::set ; # Set handling. |
| 25 | |
| 26 | # # ## ### ##### ######## ############# ##################### |
| 27 | ## |
| 28 | |
| 29 | snit::type ::vc::fossil::import::cvs::project::sym { |
| 30 | # # ## ### ##### ######## ############# |
| 31 | ## Public API |
| 32 | |
| @@ -57,11 +57,11 @@ | |
| 57 | # - Is usage unambigous ? |
| 58 | # - Was there ever a commit on the symbol ? |
| 59 | # - More used as tag, or more used as branch ? |
| 60 | # - At last, what has the user told us about it ? |
| 61 | # - Fail |
| 62 | |
| 63 | foreach rule { |
| 64 | UserConfig |
| 65 | Unambigous |
| 66 | HasCommits |
| 67 | VoteCounts |
| @@ -336,11 +336,11 @@ | |
| 336 | |
| 337 | method Unambigous {} { |
| 338 | # If a symbol is used unambiguously as a tag/branch, convert |
| 339 | # it as such. |
| 340 | |
| 341 | set istag [expr {$mytagcount > 0}] |
| 342 | set isbranch [expr {$mybranchcount > 0 || $mycommitcount > 0}] |
| 343 | |
| 344 | if {$istag && $isbranch} { return $myundef } |
| 345 | if {$istag} { return $mytag } |
| 346 | if {$isbranch} { return $mybranch } |
| 347 |
| --- tools/cvs2fossil/lib/c2f_psym.tcl | |
| +++ tools/cvs2fossil/lib/c2f_psym.tcl | |
| @@ -22,11 +22,11 @@ | |
| 22 | package require vc::tools::misc ; # Text formatting. |
| 23 | package require vc::fossil::import::cvs::state ; # State storage. |
| 24 | package require struct::set ; # Set handling. |
| 25 | |
| 26 | # # ## ### ##### ######## ############# ##################### |
| 27 | ## |
| 28 | |
| 29 | snit::type ::vc::fossil::import::cvs::project::sym { |
| 30 | # # ## ### ##### ######## ############# |
| 31 | ## Public API |
| 32 | |
| @@ -57,11 +57,11 @@ | |
| 57 | # - Is usage unambigous ? |
| 58 | # - Was there ever a commit on the symbol ? |
| 59 | # - More used as tag, or more used as branch ? |
| 60 | # - At last, what has the user told us about it ? |
| 61 | # - Fail |
| 62 | |
| 63 | foreach rule { |
| 64 | UserConfig |
| 65 | Unambigous |
| 66 | HasCommits |
| 67 | VoteCounts |
| @@ -336,11 +336,11 @@ | |
| 336 | |
| 337 | method Unambigous {} { |
| 338 | # If a symbol is used unambiguously as a tag/branch, convert |
| 339 | # it as such. |
| 340 | |
| 341 | set istag [expr {$mytagcount > 0}] |
| 342 | set isbranch [expr {$mybranchcount > 0 || $mycommitcount > 0}] |
| 343 | |
| 344 | if {$istag && $isbranch} { return $myundef } |
| 345 | if {$istag} { return $mytag } |
| 346 | if {$isbranch} { return $mybranch } |
| 347 |
| --- tools/cvs2fossil/lib/c2f_ptrunk.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_ptrunk.tcl | ||
| @@ -17,11 +17,11 @@ | ||
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | |
| 21 | 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | -## | |
| 22 | +## | |
| 23 | 23 | |
| 24 | 24 | snit::type ::vc::fossil::import::cvs::project::trunk { |
| 25 | 25 | # # ## ### ##### ######## ############# |
| 26 | 26 | ## Public API |
| 27 | 27 | |
| 28 | 28 |
| --- tools/cvs2fossil/lib/c2f_ptrunk.tcl | |
| +++ tools/cvs2fossil/lib/c2f_ptrunk.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::project::trunk { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_ptrunk.tcl | |
| +++ tools/cvs2fossil/lib/c2f_ptrunk.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::fossil::import::cvs::project::trunk { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/c2f_repository.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_repository.tcl | ||
| @@ -27,11 +27,11 @@ | ||
| 27 | 27 | package require vc::fossil::import::cvs::state ; # State storage. |
| 28 | 28 | package require struct::list ; # List operations. |
| 29 | 29 | package require fileutil ; # File operations. |
| 30 | 30 | |
| 31 | 31 | # # ## ### ##### ######## ############# ##################### |
| 32 | -## | |
| 32 | +## | |
| 33 | 33 | |
| 34 | 34 | snit::type ::vc::fossil::import::cvs::repository { |
| 35 | 35 | # # ## ### ##### ######## ############# |
| 36 | 36 | ## Public API |
| 37 | 37 | |
| 38 | 38 |
| --- tools/cvs2fossil/lib/c2f_repository.tcl | |
| +++ tools/cvs2fossil/lib/c2f_repository.tcl | |
| @@ -27,11 +27,11 @@ | |
| 27 | package require vc::fossil::import::cvs::state ; # State storage. |
| 28 | package require struct::list ; # List operations. |
| 29 | package require fileutil ; # File operations. |
| 30 | |
| 31 | # # ## ### ##### ######## ############# ##################### |
| 32 | ## |
| 33 | |
| 34 | snit::type ::vc::fossil::import::cvs::repository { |
| 35 | # # ## ### ##### ######## ############# |
| 36 | ## Public API |
| 37 | |
| 38 |
| --- tools/cvs2fossil/lib/c2f_repository.tcl | |
| +++ tools/cvs2fossil/lib/c2f_repository.tcl | |
| @@ -27,11 +27,11 @@ | |
| 27 | package require vc::fossil::import::cvs::state ; # State storage. |
| 28 | package require struct::list ; # List operations. |
| 29 | package require fileutil ; # File operations. |
| 30 | |
| 31 | # # ## ### ##### ######## ############# ##################### |
| 32 | ## |
| 33 | |
| 34 | snit::type ::vc::fossil::import::cvs::repository { |
| 35 | # # ## ### ##### ######## ############# |
| 36 | ## Public API |
| 37 | |
| 38 |
| --- tools/cvs2fossil/lib/c2f_state.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_state.tcl | ||
| @@ -23,11 +23,11 @@ | ||
| 23 | 23 | package require sqlite3 ; # Database access. |
| 24 | 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | 25 | package require vc::tools::log ; # User feedback. |
| 26 | 26 | |
| 27 | 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | -## | |
| 28 | +## | |
| 29 | 29 | |
| 30 | 30 | snit::type ::vc::fossil::import::cvs::state { |
| 31 | 31 | # # ## ### ##### ######## ############# |
| 32 | 32 | ## Public API |
| 33 | 33 | |
| 34 | 34 |
| --- tools/cvs2fossil/lib/c2f_state.tcl | |
| +++ tools/cvs2fossil/lib/c2f_state.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require sqlite3 ; # Database access. |
| 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | package require vc::tools::log ; # User feedback. |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::state { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| 34 |
| --- tools/cvs2fossil/lib/c2f_state.tcl | |
| +++ tools/cvs2fossil/lib/c2f_state.tcl | |
| @@ -23,11 +23,11 @@ | |
| 23 | package require sqlite3 ; # Database access. |
| 24 | package require vc::tools::trouble ; # Error reporting. |
| 25 | package require vc::tools::log ; # User feedback. |
| 26 | |
| 27 | # # ## ### ##### ######## ############# ##################### |
| 28 | ## |
| 29 | |
| 30 | snit::type ::vc::fossil::import::cvs::state { |
| 31 | # # ## ### ##### ######## ############# |
| 32 | ## Public API |
| 33 | |
| 34 |
| --- tools/cvs2fossil/lib/cvs2fossil.tcl | ||
| +++ tools/cvs2fossil/lib/cvs2fossil.tcl | ||
| @@ -47,11 +47,11 @@ | ||
| 47 | 47 | package require vc::fossil::import::cvs::option ; # Cmd line parsing & database |
| 48 | 48 | package require vc::fossil::import::cvs::pass ; # Pass management |
| 49 | 49 | package require vc::tools::log ; # User feedback |
| 50 | 50 | |
| 51 | 51 | # # ## ### ##### ######## ############# ##################### |
| 52 | -## | |
| 52 | +## | |
| 53 | 53 | |
| 54 | 54 | snit::type ::vc::fossil::import::cvs { |
| 55 | 55 | # # ## ### ##### ######## ############# |
| 56 | 56 | ## Public API, Methods |
| 57 | 57 | |
| 58 | 58 |
| --- tools/cvs2fossil/lib/cvs2fossil.tcl | |
| +++ tools/cvs2fossil/lib/cvs2fossil.tcl | |
| @@ -47,11 +47,11 @@ | |
| 47 | package require vc::fossil::import::cvs::option ; # Cmd line parsing & database |
| 48 | package require vc::fossil::import::cvs::pass ; # Pass management |
| 49 | package require vc::tools::log ; # User feedback |
| 50 | |
| 51 | # # ## ### ##### ######## ############# ##################### |
| 52 | ## |
| 53 | |
| 54 | snit::type ::vc::fossil::import::cvs { |
| 55 | # # ## ### ##### ######## ############# |
| 56 | ## Public API, Methods |
| 57 | |
| 58 |
| --- tools/cvs2fossil/lib/cvs2fossil.tcl | |
| +++ tools/cvs2fossil/lib/cvs2fossil.tcl | |
| @@ -47,11 +47,11 @@ | |
| 47 | package require vc::fossil::import::cvs::option ; # Cmd line parsing & database |
| 48 | package require vc::fossil::import::cvs::pass ; # Pass management |
| 49 | package require vc::tools::log ; # User feedback |
| 50 | |
| 51 | # # ## ### ##### ######## ############# ##################### |
| 52 | ## |
| 53 | |
| 54 | snit::type ::vc::fossil::import::cvs { |
| 55 | # # ## ### ##### ######## ############# |
| 56 | ## Public API, Methods |
| 57 | |
| 58 |
+1
-1
| --- tools/cvs2fossil/lib/dot.tcl | ||
| +++ tools/cvs2fossil/lib/dot.tcl | ||
| @@ -19,11 +19,11 @@ | ||
| 19 | 19 | package require Tcl 8.4 ; # Required runtime |
| 20 | 20 | package require snit ; # OO system. |
| 21 | 21 | package require fileutil ; # Helper commands. |
| 22 | 22 | |
| 23 | 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | -## | |
| 24 | +## | |
| 25 | 25 | |
| 26 | 26 | snit::type ::vc::tools::dot { |
| 27 | 27 | # # ## ### ##### ######## ############# |
| 28 | 28 | ## Public API, Methods |
| 29 | 29 | |
| 30 | 30 |
| --- tools/cvs2fossil/lib/dot.tcl | |
| +++ tools/cvs2fossil/lib/dot.tcl | |
| @@ -19,11 +19,11 @@ | |
| 19 | package require Tcl 8.4 ; # Required runtime |
| 20 | package require snit ; # OO system. |
| 21 | package require fileutil ; # Helper commands. |
| 22 | |
| 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | ## |
| 25 | |
| 26 | snit::type ::vc::tools::dot { |
| 27 | # # ## ### ##### ######## ############# |
| 28 | ## Public API, Methods |
| 29 | |
| 30 |
| --- tools/cvs2fossil/lib/dot.tcl | |
| +++ tools/cvs2fossil/lib/dot.tcl | |
| @@ -19,11 +19,11 @@ | |
| 19 | package require Tcl 8.4 ; # Required runtime |
| 20 | package require snit ; # OO system. |
| 21 | package require fileutil ; # Helper commands. |
| 22 | |
| 23 | # # ## ### ##### ######## ############# ##################### |
| 24 | ## |
| 25 | |
| 26 | snit::type ::vc::tools::dot { |
| 27 | # # ## ### ##### ######## ############# |
| 28 | ## Public API, Methods |
| 29 | |
| 30 |
+1
-1
| --- tools/cvs2fossil/lib/log.tcl | ||
| +++ tools/cvs2fossil/lib/log.tcl | ||
| @@ -17,11 +17,11 @@ | ||
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | 19 | package require snit ; # OO system. |
| 20 | 20 | |
| 21 | 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | -## | |
| 22 | +## | |
| 23 | 23 | |
| 24 | 24 | snit::type ::vc::tools::log { |
| 25 | 25 | # # ## ### ##### ######## ############# |
| 26 | 26 | ## Public API, Methods |
| 27 | 27 | |
| 28 | 28 |
| --- tools/cvs2fossil/lib/log.tcl | |
| +++ tools/cvs2fossil/lib/log.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::tools::log { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API, Methods |
| 27 | |
| 28 |
| --- tools/cvs2fossil/lib/log.tcl | |
| +++ tools/cvs2fossil/lib/log.tcl | |
| @@ -17,11 +17,11 @@ | |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | package require snit ; # OO system. |
| 20 | |
| 21 | # # ## ### ##### ######## ############# ##################### |
| 22 | ## |
| 23 | |
| 24 | snit::type ::vc::tools::log { |
| 25 | # # ## ### ##### ######## ############# |
| 26 | ## Public API, Methods |
| 27 | |
| 28 |
+1
-1
| --- tools/cvs2fossil/lib/misc.tcl | ||
| +++ tools/cvs2fossil/lib/misc.tcl | ||
| @@ -16,11 +16,11 @@ | ||
| 16 | 16 | ## Requirements |
| 17 | 17 | |
| 18 | 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | 19 | |
| 20 | 20 | # # ## ### ##### ######## ############# ##################### |
| 21 | -## | |
| 21 | +## | |
| 22 | 22 | |
| 23 | 23 | namespace eval ::vc::tools::misc { |
| 24 | 24 | # # ## ### ##### ######## ############# |
| 25 | 25 | ## Public API, Methods |
| 26 | 26 | |
| 27 | 27 |
| --- tools/cvs2fossil/lib/misc.tcl | |
| +++ tools/cvs2fossil/lib/misc.tcl | |
| @@ -16,11 +16,11 @@ | |
| 16 | ## Requirements |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | |
| 20 | # # ## ### ##### ######## ############# ##################### |
| 21 | ## |
| 22 | |
| 23 | namespace eval ::vc::tools::misc { |
| 24 | # # ## ### ##### ######## ############# |
| 25 | ## Public API, Methods |
| 26 | |
| 27 |
| --- tools/cvs2fossil/lib/misc.tcl | |
| +++ tools/cvs2fossil/lib/misc.tcl | |
| @@ -16,11 +16,11 @@ | |
| 16 | ## Requirements |
| 17 | |
| 18 | package require Tcl 8.4 ; # Required runtime |
| 19 | |
| 20 | # # ## ### ##### ######## ############# ##################### |
| 21 | ## |
| 22 | |
| 23 | namespace eval ::vc::tools::misc { |
| 24 | # # ## ### ##### ######## ############# |
| 25 | ## Public API, Methods |
| 26 | |
| 27 |
| --- tools/cvs2fossil/lib/rcsparser.tcl | ||
| +++ tools/cvs2fossil/lib/rcsparser.tcl | ||
| @@ -25,11 +25,11 @@ | ||
| 25 | 25 | package require fileutil ; # File utilities. |
| 26 | 26 | package require vc::tools::log ; # User feedback. |
| 27 | 27 | package require struct::list ; # Advanced list ops. |
| 28 | 28 | |
| 29 | 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | -## | |
| 30 | +## | |
| 31 | 31 | |
| 32 | 32 | snit::type ::vc::rcs::parser { |
| 33 | 33 | # # ## ### ##### ######## ############# |
| 34 | 34 | ## Public API |
| 35 | 35 | |
| @@ -424,19 +424,19 @@ | ||
| 424 | 424 | proc Expected {x} { |
| 425 | 425 | ::variable mydata |
| 426 | 426 | ::variable mypos |
| 427 | 427 | set e $mypos ; incr e 30 |
| 428 | 428 | return -code error -errorcode vc::rcs::parser \ |
| 429 | - "Expected $x @ '[string range $mydata $mypos $e]...'" | |
| 429 | + "Expected $x @ '[string range $mydata $mypos $e]...'" | |
| 430 | 430 | } |
| 431 | 431 | |
| 432 | 432 | proc Bad {x} { |
| 433 | 433 | ::variable mydata |
| 434 | 434 | ::variable mypos |
| 435 | 435 | set e $mypos ; incr e 30 |
| 436 | 436 | return -code error -errorcode vc::rcs::parser \ |
| 437 | - "Bad $x @ '[string range $mydata $mypos $e]...'" | |
| 437 | + "Bad $x @ '[string range $mydata $mypos $e]...'" | |
| 438 | 438 | } |
| 439 | 439 | |
| 440 | 440 | # # ## ### ##### ######## ############# |
| 441 | 441 | ## Setup, callbacks. |
| 442 | 442 | |
| 443 | 443 |
| --- tools/cvs2fossil/lib/rcsparser.tcl | |
| +++ tools/cvs2fossil/lib/rcsparser.tcl | |
| @@ -25,11 +25,11 @@ | |
| 25 | package require fileutil ; # File utilities. |
| 26 | package require vc::tools::log ; # User feedback. |
| 27 | package require struct::list ; # Advanced list ops. |
| 28 | |
| 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | ## |
| 31 | |
| 32 | snit::type ::vc::rcs::parser { |
| 33 | # # ## ### ##### ######## ############# |
| 34 | ## Public API |
| 35 | |
| @@ -424,19 +424,19 @@ | |
| 424 | proc Expected {x} { |
| 425 | ::variable mydata |
| 426 | ::variable mypos |
| 427 | set e $mypos ; incr e 30 |
| 428 | return -code error -errorcode vc::rcs::parser \ |
| 429 | "Expected $x @ '[string range $mydata $mypos $e]...'" |
| 430 | } |
| 431 | |
| 432 | proc Bad {x} { |
| 433 | ::variable mydata |
| 434 | ::variable mypos |
| 435 | set e $mypos ; incr e 30 |
| 436 | return -code error -errorcode vc::rcs::parser \ |
| 437 | "Bad $x @ '[string range $mydata $mypos $e]...'" |
| 438 | } |
| 439 | |
| 440 | # # ## ### ##### ######## ############# |
| 441 | ## Setup, callbacks. |
| 442 | |
| 443 |
| --- tools/cvs2fossil/lib/rcsparser.tcl | |
| +++ tools/cvs2fossil/lib/rcsparser.tcl | |
| @@ -25,11 +25,11 @@ | |
| 25 | package require fileutil ; # File utilities. |
| 26 | package require vc::tools::log ; # User feedback. |
| 27 | package require struct::list ; # Advanced list ops. |
| 28 | |
| 29 | # # ## ### ##### ######## ############# ##################### |
| 30 | ## |
| 31 | |
| 32 | snit::type ::vc::rcs::parser { |
| 33 | # # ## ### ##### ######## ############# |
| 34 | ## Public API |
| 35 | |
| @@ -424,19 +424,19 @@ | |
| 424 | proc Expected {x} { |
| 425 | ::variable mydata |
| 426 | ::variable mypos |
| 427 | set e $mypos ; incr e 30 |
| 428 | return -code error -errorcode vc::rcs::parser \ |
| 429 | "Expected $x @ '[string range $mydata $mypos $e]...'" |
| 430 | } |
| 431 | |
| 432 | proc Bad {x} { |
| 433 | ::variable mydata |
| 434 | ::variable mypos |
| 435 | set e $mypos ; incr e 30 |
| 436 | return -code error -errorcode vc::rcs::parser \ |
| 437 | "Bad $x @ '[string range $mydata $mypos $e]...'" |
| 438 | } |
| 439 | |
| 440 | # # ## ### ##### ######## ############# |
| 441 | ## Setup, callbacks. |
| 442 | |
| 443 |
+1
-1
| --- tools/cvs2fossil/lib/trouble.tcl | ||
| +++ tools/cvs2fossil/lib/trouble.tcl | ||
| @@ -18,11 +18,11 @@ | ||
| 18 | 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | 19 | package require vc::tools::log ; # Basic log generation. |
| 20 | 20 | package require snit ; # OO system. |
| 21 | 21 | |
| 22 | 22 | # # ## ### ##### ######## ############# ##################### |
| 23 | -## | |
| 23 | +## | |
| 24 | 24 | |
| 25 | 25 | snit::type ::vc::tools::trouble { |
| 26 | 26 | # # ## ### ##### ######## ############# |
| 27 | 27 | ## Public API, Methods |
| 28 | 28 | |
| 29 | 29 |
| --- tools/cvs2fossil/lib/trouble.tcl | |
| +++ tools/cvs2fossil/lib/trouble.tcl | |
| @@ -18,11 +18,11 @@ | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require vc::tools::log ; # Basic log generation. |
| 20 | package require snit ; # OO system. |
| 21 | |
| 22 | # # ## ### ##### ######## ############# ##################### |
| 23 | ## |
| 24 | |
| 25 | snit::type ::vc::tools::trouble { |
| 26 | # # ## ### ##### ######## ############# |
| 27 | ## Public API, Methods |
| 28 | |
| 29 |
| --- tools/cvs2fossil/lib/trouble.tcl | |
| +++ tools/cvs2fossil/lib/trouble.tcl | |
| @@ -18,11 +18,11 @@ | |
| 18 | package require Tcl 8.4 ; # Required runtime. |
| 19 | package require vc::tools::log ; # Basic log generation. |
| 20 | package require snit ; # OO system. |
| 21 | |
| 22 | # # ## ### ##### ######## ############# ##################### |
| 23 | ## |
| 24 | |
| 25 | snit::type ::vc::tools::trouble { |
| 26 | # # ## ### ##### ######## ############# |
| 27 | ## Public API, Methods |
| 28 | |
| 29 |