Fossil SCM

Properly initialize the array containing the changesets split by type.

aku 2008-02-08 04:49 trunk
Commit 21d9664fb53160b4240f3088da98cdfcf031e9bf
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -969,12 +969,18 @@
969969
970970
# # ## ### ##### ######## #############
971971
972972
typevariable mychangesets {} ; # List of all known
973973
# changesets.
974
- typevariable mytchangesets -array {} ; # List of all known
975
- # changesets of a type.
974
+
975
+ # List of all known changesets of a type.
976
+ typevariable mytchangesets -array {
977
+ sym::branch {}
978
+ sym::tag {}
979
+ rev {}
980
+ }
981
+
976982
typevariable myitemmap -array {} ; # Map from items (tagged)
977983
# to the list of changesets
978984
# containing it. Each item
979985
# can be used by only one
980986
# changeset.
981987
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -969,12 +969,18 @@
969
970 # # ## ### ##### ######## #############
971
972 typevariable mychangesets {} ; # List of all known
973 # changesets.
974 typevariable mytchangesets -array {} ; # List of all known
975 # changesets of a type.
 
 
 
 
 
 
976 typevariable myitemmap -array {} ; # Map from items (tagged)
977 # to the list of changesets
978 # containing it. Each item
979 # can be used by only one
980 # changeset.
981
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -969,12 +969,18 @@
969
970 # # ## ### ##### ######## #############
971
972 typevariable mychangesets {} ; # List of all known
973 # changesets.
974
975 # List of all known changesets of a type.
976 typevariable mytchangesets -array {
977 sym::branch {}
978 sym::tag {}
979 rev {}
980 }
981
982 typevariable myitemmap -array {} ; # Map from items (tagged)
983 # to the list of changesets
984 # containing it. Each item
985 # can be used by only one
986 # changeset.
987

Keyboard Shortcuts

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