Fossil SCM

Extended file-level symbols and project-level trunk with methods to allow users to distinguish them (trunk vs. not trunk, for use as lines of development).

aku 2007-10-17 04:33 trunk
Commit 09af24fc7cedafa05a2937b88c429c67ddc27f5d
--- tools/cvs2fossil/lib/c2f_fsym.tcl
+++ tools/cvs2fossil/lib/c2f_fsym.tcl
@@ -42,10 +42,12 @@
4242
4343
# Symbol acessor methods.
4444
4545
delegate method name to mysymbol
4646
delegate method id to mysymbol
47
+
48
+ method istrunk {} { return 0 }
4749
4850
# Branch acessor methods.
4951
5052
method setchildrevnr {revnr} {
5153
if {$mybranchchildrevnr ne ""} { trouble internal "Child already defined" }
5254
--- tools/cvs2fossil/lib/c2f_fsym.tcl
+++ tools/cvs2fossil/lib/c2f_fsym.tcl
@@ -42,10 +42,12 @@
42
43 # Symbol acessor methods.
44
45 delegate method name to mysymbol
46 delegate method id to mysymbol
 
 
47
48 # Branch acessor methods.
49
50 method setchildrevnr {revnr} {
51 if {$mybranchchildrevnr ne ""} { trouble internal "Child already defined" }
52
--- tools/cvs2fossil/lib/c2f_fsym.tcl
+++ tools/cvs2fossil/lib/c2f_fsym.tcl
@@ -42,10 +42,12 @@
42
43 # Symbol acessor methods.
44
45 delegate method name to mysymbol
46 delegate method id to mysymbol
47
48 method istrunk {} { return 0 }
49
50 # Branch acessor methods.
51
52 method setchildrevnr {revnr} {
53 if {$mybranchchildrevnr ne ""} { trouble internal "Child already defined" }
54
--- tools/cvs2fossil/lib/c2f_ptrunk.tcl
+++ tools/cvs2fossil/lib/c2f_ptrunk.tcl
@@ -27,12 +27,13 @@
2727
2828
constructor {} {
2929
return
3030
}
3131
32
- method name {} { return :trunk: }
33
- method id {} { return {} }
32
+ method name {} { return :trunk: }
33
+ method id {} { return {} }
34
+ method istrunk {} { return 1 }
3435
3536
# # ## ### ##### ######## #############
3637
## State
3738
3839
# # ## ### ##### ######## #############
3940
--- tools/cvs2fossil/lib/c2f_ptrunk.tcl
+++ tools/cvs2fossil/lib/c2f_ptrunk.tcl
@@ -27,12 +27,13 @@
27
28 constructor {} {
29 return
30 }
31
32 method name {} { return :trunk: }
33 method id {} { return {} }
 
34
35 # # ## ### ##### ######## #############
36 ## State
37
38 # # ## ### ##### ######## #############
39
--- tools/cvs2fossil/lib/c2f_ptrunk.tcl
+++ tools/cvs2fossil/lib/c2f_ptrunk.tcl
@@ -27,12 +27,13 @@
27
28 constructor {} {
29 return
30 }
31
32 method name {} { return :trunk: }
33 method id {} { return {} }
34 method istrunk {} { return 1 }
35
36 # # ## ### ##### ######## #############
37 ## State
38
39 # # ## ### ##### ######## #############
40

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button