Fossil SCM

Tune log output tracking the creation workspace objects, make them less stilted.

aku 2008-02-14 04:26 trunk
Commit 300f31260bf7d0f4dff94a30e3444fba032e0371
--- tools/cvs2fossil/lib/c2f_ristate.tcl
+++ tools/cvs2fossil/lib/c2f_ristate.tcl
@@ -35,25 +35,25 @@
3535
# Start with an empty state
3636
return
3737
}
3838
3939
method new {lod {parentlod {}}} {
40
- # Create the workspace state for a line of development
41
- # (LOD). If a parent LOD is specified let the new state
42
- # inherit the current state of the parent.
40
+ # Create a workspace for a line of development (LOD). If a
41
+ # parent LOD is specified let the new workspace inherit the
42
+ # current state of the parent.
4343
44
- log write 8 ristate {Open workspace state for LOD "$lod"}
44
+ log write 8 ristate {Open workspace for LOD "$lod"}
4545
4646
integrity assert {
4747
![info exists mystate($lod)]
4848
} {Trying to override existing state for lod "$lod"}
4949
5050
set wss [wsstate ${selfns}::%AUTO% $lod]
5151
set mystate($lod) $wss
5252
5353
if {$parentlod ne ""} {
54
- log write 8 ristate {Inheriting from workspace state for LOD "$parentlod"}
54
+ log write 8 ristate {Inheriting from workspace for LOD "$parentlod"}
5555
5656
integrity assert {
5757
[info exists mystate($parentlod)]
5858
} {Trying to inherit from undefined lod "$parentlod"}
5959
@@ -70,21 +70,21 @@
7070
method has {lod} { return [info exists mystate($lod)] }
7171
7272
method names {} { return [array names mystate] }
7373
7474
method dup {dst _from_ src} {
75
- log write 8 ristate {Duplicate workspace state for LOD "$dst" from "$src"}
75
+ log write 8 ristate {Duplicate workspace for LOD "$dst" from "$src"}
7676
set mystate($dst) $mystate($src)
7777
return
7878
}
7979
8080
# # ## ### ##### ######## #############
8181
## State
8282
8383
variable mystate -array {} ; # Map from lines of development
8484
# (identified by name) to their
85
- # workspace state.
85
+ # workspace.
8686
8787
# # ## ### ##### ######## #############
8888
## Configuration
8989
9090
pragma -hastypeinfo no ; # no type introspection
9191
--- tools/cvs2fossil/lib/c2f_ristate.tcl
+++ tools/cvs2fossil/lib/c2f_ristate.tcl
@@ -35,25 +35,25 @@
35 # Start with an empty state
36 return
37 }
38
39 method new {lod {parentlod {}}} {
40 # Create the workspace state for a line of development
41 # (LOD). If a parent LOD is specified let the new state
42 # inherit the current state of the parent.
43
44 log write 8 ristate {Open workspace state for LOD "$lod"}
45
46 integrity assert {
47 ![info exists mystate($lod)]
48 } {Trying to override existing state for lod "$lod"}
49
50 set wss [wsstate ${selfns}::%AUTO% $lod]
51 set mystate($lod) $wss
52
53 if {$parentlod ne ""} {
54 log write 8 ristate {Inheriting from workspace state for LOD "$parentlod"}
55
56 integrity assert {
57 [info exists mystate($parentlod)]
58 } {Trying to inherit from undefined lod "$parentlod"}
59
@@ -70,21 +70,21 @@
70 method has {lod} { return [info exists mystate($lod)] }
71
72 method names {} { return [array names mystate] }
73
74 method dup {dst _from_ src} {
75 log write 8 ristate {Duplicate workspace state for LOD "$dst" from "$src"}
76 set mystate($dst) $mystate($src)
77 return
78 }
79
80 # # ## ### ##### ######## #############
81 ## State
82
83 variable mystate -array {} ; # Map from lines of development
84 # (identified by name) to their
85 # workspace state.
86
87 # # ## ### ##### ######## #############
88 ## Configuration
89
90 pragma -hastypeinfo no ; # no type introspection
91
--- tools/cvs2fossil/lib/c2f_ristate.tcl
+++ tools/cvs2fossil/lib/c2f_ristate.tcl
@@ -35,25 +35,25 @@
35 # Start with an empty state
36 return
37 }
38
39 method new {lod {parentlod {}}} {
40 # Create a workspace for a line of development (LOD). If a
41 # parent LOD is specified let the new workspace inherit the
42 # current state of the parent.
43
44 log write 8 ristate {Open workspace for LOD "$lod"}
45
46 integrity assert {
47 ![info exists mystate($lod)]
48 } {Trying to override existing state for lod "$lod"}
49
50 set wss [wsstate ${selfns}::%AUTO% $lod]
51 set mystate($lod) $wss
52
53 if {$parentlod ne ""} {
54 log write 8 ristate {Inheriting from workspace for LOD "$parentlod"}
55
56 integrity assert {
57 [info exists mystate($parentlod)]
58 } {Trying to inherit from undefined lod "$parentlod"}
59
@@ -70,21 +70,21 @@
70 method has {lod} { return [info exists mystate($lod)] }
71
72 method names {} { return [array names mystate] }
73
74 method dup {dst _from_ src} {
75 log write 8 ristate {Duplicate workspace for LOD "$dst" from "$src"}
76 set mystate($dst) $mystate($src)
77 return
78 }
79
80 # # ## ### ##### ######## #############
81 ## State
82
83 variable mystate -array {} ; # Map from lines of development
84 # (identified by name) to their
85 # workspace.
86
87 # # ## ### ##### ######## #############
88 ## Configuration
89
90 pragma -hastypeinfo no ; # no type introspection
91

Keyboard Shortcuts

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