Fossil SCM
Make sure that EVERY 'initial' checkin has an R-card, despite the "repo-cksum" setting. It is the only way to be able to distinguish Manifests from Control artifacts by looking at the presence of cards only. Otherwise, Fossil versions < 1.27 cannot handle that.
Commit
60f669e937698c14ace99ac20a51ef2662c5b4ba
Parent
640626fdbfbb38b…
1 file changed
+3
-1
+3
-1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -1520,11 +1520,13 @@ | ||
| 1520 | 1520 | forceBaseline = 1; |
| 1521 | 1521 | } |
| 1522 | 1522 | |
| 1523 | 1523 | /* Get the ID of the parent manifest artifact */ |
| 1524 | 1524 | vid = db_lget_int("checkout", 0); |
| 1525 | - if( content_is_private(vid) ){ | |
| 1525 | + if( vid==0 ){ | |
| 1526 | + useCksum = 1; | |
| 1527 | + }else if( content_is_private(vid) ){ | |
| 1526 | 1528 | g.markPrivate = 1; |
| 1527 | 1529 | } |
| 1528 | 1530 | |
| 1529 | 1531 | /* |
| 1530 | 1532 | ** Autosync if autosync is enabled and this is not a private check-in. |
| 1531 | 1533 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1520,11 +1520,13 @@ | |
| 1520 | forceBaseline = 1; |
| 1521 | } |
| 1522 | |
| 1523 | /* Get the ID of the parent manifest artifact */ |
| 1524 | vid = db_lget_int("checkout", 0); |
| 1525 | if( content_is_private(vid) ){ |
| 1526 | g.markPrivate = 1; |
| 1527 | } |
| 1528 | |
| 1529 | /* |
| 1530 | ** Autosync if autosync is enabled and this is not a private check-in. |
| 1531 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1520,11 +1520,13 @@ | |
| 1520 | forceBaseline = 1; |
| 1521 | } |
| 1522 | |
| 1523 | /* Get the ID of the parent manifest artifact */ |
| 1524 | vid = db_lget_int("checkout", 0); |
| 1525 | if( vid==0 ){ |
| 1526 | useCksum = 1; |
| 1527 | }else if( content_is_private(vid) ){ |
| 1528 | g.markPrivate = 1; |
| 1529 | } |
| 1530 | |
| 1531 | /* |
| 1532 | ** Autosync if autosync is enabled and this is not a private check-in. |
| 1533 |