Fossil SCM
Modify the schema to allow additional space for hard-coded tag-ids. Updating to this version requires a "rebuild".
Commit
f8b3d24759e0c085713087a7580f39b72e0d6d96
Parent
828bf98aff75092…
1 file changed
+3
-2
+3
-2
| --- src/schema.c | ||
| +++ src/schema.c | ||
| @@ -40,11 +40,11 @@ | ||
| 40 | 40 | ** a date) which can change frequently. When the content schema changes, |
| 41 | 41 | ** we have to execute special procedures to update the schema. When |
| 42 | 42 | ** the aux schema changes, all we need to do is rebuild the database. |
| 43 | 43 | */ |
| 44 | 44 | #define CONTENT_SCHEMA "1" |
| 45 | -#define AUX_SCHEMA "2011-01-28" | |
| 45 | +#define AUX_SCHEMA "2011-02-25" | |
| 46 | 46 | |
| 47 | 47 | #endif /* INTERFACE */ |
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | /* |
| @@ -390,13 +390,14 @@ | ||
| 390 | 390 | # define TAG_HIDDEN 5 /* Do not display or sync */ |
| 391 | 391 | # define TAG_PRIVATE 6 /* Display but do not sync */ |
| 392 | 392 | # define TAG_CLUSTER 7 /* A cluster */ |
| 393 | 393 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 394 | 394 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 395 | +# define TAG_PARENT 10 /* Change to parentage on a checkin */ | |
| 395 | 396 | #endif |
| 396 | 397 | #if EXPORT_INTERFACE |
| 397 | -# define MAX_INT_TAG 9 /* The largest pre-assigned tag id */ | |
| 398 | +# define MAX_INT_TAG 16 /* The largest pre-assigned tag id */ | |
| 398 | 399 | #endif |
| 399 | 400 | |
| 400 | 401 | /* |
| 401 | 402 | ** The schema for the locate FOSSIL database file found at the root |
| 402 | 403 | ** of very check-out. This database contains the complete state of |
| 403 | 404 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -40,11 +40,11 @@ | |
| 40 | ** a date) which can change frequently. When the content schema changes, |
| 41 | ** we have to execute special procedures to update the schema. When |
| 42 | ** the aux schema changes, all we need to do is rebuild the database. |
| 43 | */ |
| 44 | #define CONTENT_SCHEMA "1" |
| 45 | #define AUX_SCHEMA "2011-01-28" |
| 46 | |
| 47 | #endif /* INTERFACE */ |
| 48 | |
| 49 | |
| 50 | /* |
| @@ -390,13 +390,14 @@ | |
| 390 | # define TAG_HIDDEN 5 /* Do not display or sync */ |
| 391 | # define TAG_PRIVATE 6 /* Display but do not sync */ |
| 392 | # define TAG_CLUSTER 7 /* A cluster */ |
| 393 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 394 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 395 | #endif |
| 396 | #if EXPORT_INTERFACE |
| 397 | # define MAX_INT_TAG 9 /* The largest pre-assigned tag id */ |
| 398 | #endif |
| 399 | |
| 400 | /* |
| 401 | ** The schema for the locate FOSSIL database file found at the root |
| 402 | ** of very check-out. This database contains the complete state of |
| 403 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -40,11 +40,11 @@ | |
| 40 | ** a date) which can change frequently. When the content schema changes, |
| 41 | ** we have to execute special procedures to update the schema. When |
| 42 | ** the aux schema changes, all we need to do is rebuild the database. |
| 43 | */ |
| 44 | #define CONTENT_SCHEMA "1" |
| 45 | #define AUX_SCHEMA "2011-02-25" |
| 46 | |
| 47 | #endif /* INTERFACE */ |
| 48 | |
| 49 | |
| 50 | /* |
| @@ -390,13 +390,14 @@ | |
| 390 | # define TAG_HIDDEN 5 /* Do not display or sync */ |
| 391 | # define TAG_PRIVATE 6 /* Display but do not sync */ |
| 392 | # define TAG_CLUSTER 7 /* A cluster */ |
| 393 | # define TAG_BRANCH 8 /* Value is name of the current branch */ |
| 394 | # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */ |
| 395 | # define TAG_PARENT 10 /* Change to parentage on a checkin */ |
| 396 | #endif |
| 397 | #if EXPORT_INTERFACE |
| 398 | # define MAX_INT_TAG 16 /* The largest pre-assigned tag id */ |
| 399 | #endif |
| 400 | |
| 401 | /* |
| 402 | ** The schema for the locate FOSSIL database file found at the root |
| 403 | ** of very check-out. This database contains the complete state of |
| 404 |