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.
Commit
5068271418d76bfc42d691ab40a5be197fc879b28b6a2dc9a32a43023948fe5f
Parent
ac947826fd789b0…
1 file changed
+1
+1
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -1408,10 +1408,11 @@ | ||
| 1408 | 1408 | /* Newer method: Import the list of private artifacts to the PRIVATE table. */ |
| 1409 | 1409 | if( fKeepPrivate ){ |
| 1410 | 1410 | char *zFnDotPrivate = mprintf("%s/.private", g.argv[3]); |
| 1411 | 1411 | private_import(zFnDotPrivate); |
| 1412 | 1412 | free(zFnDotPrivate); |
| 1413 | + fix_private_blob_dependencies(0); | |
| 1413 | 1414 | } |
| 1414 | 1415 | |
| 1415 | 1416 | /* Skip the verify_before_commit() step on a reconstruct. Most artifacts |
| 1416 | 1417 | ** will have been changed and verification therefore takes a really, really |
| 1417 | 1418 | ** long time. |
| 1418 | 1419 |
| --- 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 |