Fossil SCM
Ensure that /ci_edit adds the new control artifact's rid to the unsent table if it's not private. How it has been synching those without that is unclear, but libfossil tripped on this and a fix on that end, without doing a --verily sync, is also unclear.
Commit
b51a8d0e78c4b41033d3616b116fbbe48d4e6cecc7c45259d02f00dbfcf4cd54
Parent
5d1b6a2be231dd0…
1 file changed
+1
+1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -3713,10 +3713,11 @@ | ||
| 3713 | 3713 | static void publish_newtags_artifact(Blob *ctrl, int rid){ |
| 3714 | 3714 | if( artifact_is_complete(ctrl) ){ |
| 3715 | 3715 | int nrid; |
| 3716 | 3716 | g.markPrivate = content_is_private(rid); |
| 3717 | 3717 | nrid = content_put(ctrl); |
| 3718 | + if( 0==g.markPrivate ) db_add_unsent(nrid); | |
| 3718 | 3719 | manifest_crosslink(nrid, ctrl, MC_PERMIT_HOOKS); |
| 3719 | 3720 | } |
| 3720 | 3721 | } |
| 3721 | 3722 | /* End of the newtags subsystem |
| 3722 | 3723 | ******************************************************************************/ |
| 3723 | 3724 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -3713,10 +3713,11 @@ | |
| 3713 | static void publish_newtags_artifact(Blob *ctrl, int rid){ |
| 3714 | if( artifact_is_complete(ctrl) ){ |
| 3715 | int nrid; |
| 3716 | g.markPrivate = content_is_private(rid); |
| 3717 | nrid = content_put(ctrl); |
| 3718 | manifest_crosslink(nrid, ctrl, MC_PERMIT_HOOKS); |
| 3719 | } |
| 3720 | } |
| 3721 | /* End of the newtags subsystem |
| 3722 | ******************************************************************************/ |
| 3723 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -3713,10 +3713,11 @@ | |
| 3713 | static void publish_newtags_artifact(Blob *ctrl, int rid){ |
| 3714 | if( artifact_is_complete(ctrl) ){ |
| 3715 | int nrid; |
| 3716 | g.markPrivate = content_is_private(rid); |
| 3717 | nrid = content_put(ctrl); |
| 3718 | if( 0==g.markPrivate ) db_add_unsent(nrid); |
| 3719 | manifest_crosslink(nrid, ctrl, MC_PERMIT_HOOKS); |
| 3720 | } |
| 3721 | } |
| 3722 | /* End of the newtags subsystem |
| 3723 | ******************************************************************************/ |
| 3724 |