Fossil SCM

In reconstruct --keep-private, undeltify public artifacts that are deltas from private ones after the private list is read, so the repository stays consistent.

dmestas 2026-11-20 21:15 UTC small-fixes
Commit 5068271418d76bfc42d691ab40a5be197fc879b28b6a2dc9a32a43023948fe5f
1 file changed +1
--- src/rebuild.c
+++ src/rebuild.c
@@ -1408,10 +1408,11 @@
14081408
/* Newer method: Import the list of private artifacts to the PRIVATE table. */
14091409
if( fKeepPrivate ){
14101410
char *zFnDotPrivate = mprintf("%s/.private", g.argv[3]);
14111411
private_import(zFnDotPrivate);
14121412
free(zFnDotPrivate);
1413
+ fix_private_blob_dependencies(0);
14131414
}
14141415
14151416
/* Skip the verify_before_commit() step on a reconstruct. Most artifacts
14161417
** will have been changed and verification therefore takes a really, really
14171418
** long time.
14181419
--- src/rebuild.c
+++ src/rebuild.c
@@ -1408,10 +1408,11 @@
1408 /* Newer method: Import the list of private artifacts to the PRIVATE table. */
1409 if( fKeepPrivate ){
1410 char *zFnDotPrivate = mprintf("%s/.private", g.argv[3]);
1411 private_import(zFnDotPrivate);
1412 free(zFnDotPrivate);
 
1413 }
1414
1415 /* Skip the verify_before_commit() step on a reconstruct. Most artifacts
1416 ** will have been changed and verification therefore takes a really, really
1417 ** long time.
1418
--- src/rebuild.c
+++ src/rebuild.c
@@ -1408,10 +1408,11 @@
1408 /* Newer method: Import the list of private artifacts to the PRIVATE table. */
1409 if( fKeepPrivate ){
1410 char *zFnDotPrivate = mprintf("%s/.private", g.argv[3]);
1411 private_import(zFnDotPrivate);
1412 free(zFnDotPrivate);
1413 fix_private_blob_dependencies(0);
1414 }
1415
1416 /* Skip the verify_before_commit() step on a reconstruct. Most artifacts
1417 ** will have been changed and verification therefore takes a really, really
1418 ** long time.
1419

Keyboard Shortcuts

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