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.

stephan 2026-08-27 21:48 UTC trunk
Commit b51a8d0e78c4b41033d3616b116fbbe48d4e6cecc7c45259d02f00dbfcf4cd54
1 file changed +1
+1
--- src/info.c
+++ src/info.c
@@ -3713,10 +3713,11 @@
37133713
static void publish_newtags_artifact(Blob *ctrl, int rid){
37143714
if( artifact_is_complete(ctrl) ){
37153715
int nrid;
37163716
g.markPrivate = content_is_private(rid);
37173717
nrid = content_put(ctrl);
3718
+ if( 0==g.markPrivate ) db_add_unsent(nrid);
37183719
manifest_crosslink(nrid, ctrl, MC_PERMIT_HOOKS);
37193720
}
37203721
}
37213722
/* End of the newtags subsystem
37223723
******************************************************************************/
37233724
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button