Fossil SCM
Properly initialize the array containing the changesets split by type.
Commit
21d9664fb53160b4240f3088da98cdfcf031e9bf
Parent
d2b1d3be25a4e0d…
1 file changed
+8
-2
| --- tools/cvs2fossil/lib/c2f_prev.tcl | ||
| +++ tools/cvs2fossil/lib/c2f_prev.tcl | ||
| @@ -969,12 +969,18 @@ | ||
| 969 | 969 | |
| 970 | 970 | # # ## ### ##### ######## ############# |
| 971 | 971 | |
| 972 | 972 | typevariable mychangesets {} ; # List of all known |
| 973 | 973 | # 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 | + | |
| 976 | 982 | typevariable myitemmap -array {} ; # Map from items (tagged) |
| 977 | 983 | # to the list of changesets |
| 978 | 984 | # containing it. Each item |
| 979 | 985 | # can be used by only one |
| 980 | 986 | # changeset. |
| 981 | 987 |
| --- 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 |