Fossil SCM
Add TAG_NOTE to the schema. This requires a rebuild before TAG_NOTE can be used, but as TAG_NOTE is not yet used for anything, the rebuild can be deferred.
Commit
61a911981542ae88ead53f76839c2a2b04764ce1
Parent
ee5a6567ae3239c…
1 file changed
+2
-3
+2
-3
| --- src/schema.c | ||
| +++ src/schema.c | ||
| @@ -367,10 +367,11 @@ | ||
| 367 | 367 | @ INSERT INTO tag VALUES(6, 'private'); -- TAG_PRIVATE |
| 368 | 368 | @ INSERT INTO tag VALUES(7, 'cluster'); -- TAG_CLUSTER |
| 369 | 369 | @ INSERT INTO tag VALUES(8, 'branch'); -- TAG_BRANCH |
| 370 | 370 | @ INSERT INTO tag VALUES(9, 'closed'); -- TAG_CLOSED |
| 371 | 371 | @ INSERT INTO tag VALUES(10,'parent'); -- TAG_PARENT |
| 372 | +@ INSERT INTO tag VALUES(11,'note'); -- TAG_NOTE | |
| 372 | 373 | @ |
| 373 | 374 | @ -- Assignments of tags to baselines. Note that we allow tags to |
| 374 | 375 | @ -- have values assigned to them. So we are not really dealing with |
| 375 | 376 | @ -- tags here. These are really properties. But we are going to |
| 376 | 377 | @ -- keep calling them tags because in many cases the value is ignored. |
| @@ -466,13 +467,11 @@ | ||
| 466 | 467 | # define TAG_PRIVATE 6 /* Do not sync */ |
| 467 | 468 | # define TAG_CLUSTER 7 /* A cluster */ |
| 468 | 469 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 469 | 470 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 470 | 471 | # define TAG_PARENT 10 /* Change to parentage on a check-in */ |
| 471 | -#endif | |
| 472 | -#if EXPORT_INTERFACE | |
| 473 | -# define MAX_INT_TAG 16 /* The largest pre-assigned tag id */ | |
| 472 | +# define TAG_NOTE 11 /* Extra text appended to a check-in comment */ | |
| 474 | 473 | #endif |
| 475 | 474 | |
| 476 | 475 | /* |
| 477 | 476 | ** The schema for the local FOSSIL database file found at the root |
| 478 | 477 | ** of every check-out. This database contains the complete state of |
| 479 | 478 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -367,10 +367,11 @@ | |
| 367 | @ INSERT INTO tag VALUES(6, 'private'); -- TAG_PRIVATE |
| 368 | @ INSERT INTO tag VALUES(7, 'cluster'); -- TAG_CLUSTER |
| 369 | @ INSERT INTO tag VALUES(8, 'branch'); -- TAG_BRANCH |
| 370 | @ INSERT INTO tag VALUES(9, 'closed'); -- TAG_CLOSED |
| 371 | @ INSERT INTO tag VALUES(10,'parent'); -- TAG_PARENT |
| 372 | @ |
| 373 | @ -- Assignments of tags to baselines. Note that we allow tags to |
| 374 | @ -- have values assigned to them. So we are not really dealing with |
| 375 | @ -- tags here. These are really properties. But we are going to |
| 376 | @ -- keep calling them tags because in many cases the value is ignored. |
| @@ -466,13 +467,11 @@ | |
| 466 | # define TAG_PRIVATE 6 /* Do not sync */ |
| 467 | # define TAG_CLUSTER 7 /* A cluster */ |
| 468 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 469 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 470 | # define TAG_PARENT 10 /* Change to parentage on a check-in */ |
| 471 | #endif |
| 472 | #if EXPORT_INTERFACE |
| 473 | # define MAX_INT_TAG 16 /* The largest pre-assigned tag id */ |
| 474 | #endif |
| 475 | |
| 476 | /* |
| 477 | ** The schema for the local FOSSIL database file found at the root |
| 478 | ** of every check-out. This database contains the complete state of |
| 479 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -367,10 +367,11 @@ | |
| 367 | @ INSERT INTO tag VALUES(6, 'private'); -- TAG_PRIVATE |
| 368 | @ INSERT INTO tag VALUES(7, 'cluster'); -- TAG_CLUSTER |
| 369 | @ INSERT INTO tag VALUES(8, 'branch'); -- TAG_BRANCH |
| 370 | @ INSERT INTO tag VALUES(9, 'closed'); -- TAG_CLOSED |
| 371 | @ INSERT INTO tag VALUES(10,'parent'); -- TAG_PARENT |
| 372 | @ INSERT INTO tag VALUES(11,'note'); -- TAG_NOTE |
| 373 | @ |
| 374 | @ -- Assignments of tags to baselines. Note that we allow tags to |
| 375 | @ -- have values assigned to them. So we are not really dealing with |
| 376 | @ -- tags here. These are really properties. But we are going to |
| 377 | @ -- keep calling them tags because in many cases the value is ignored. |
| @@ -466,13 +467,11 @@ | |
| 467 | # define TAG_PRIVATE 6 /* Do not sync */ |
| 468 | # define TAG_CLUSTER 7 /* A cluster */ |
| 469 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 470 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 471 | # define TAG_PARENT 10 /* Change to parentage on a check-in */ |
| 472 | # define TAG_NOTE 11 /* Extra text appended to a check-in comment */ |
| 473 | #endif |
| 474 | |
| 475 | /* |
| 476 | ** The schema for the local FOSSIL database file found at the root |
| 477 | ** of every check-out. This database contains the complete state of |
| 478 |