Fossil SCM
Undocument the --deanalyze option to "fossil rebuild". It was added by [85233c40c9bb05a8], but more recently (specifically in check-in [7815d015f3b5a663]) it has become desirable for the repository database to be analyzed.
Commit
fa9d3fb22baa64bf41513715e0078840c6c86e289889a2347b9ebe6288b7009c
Parent
315aa2692459397…
2 files changed
+1
-1
+1
-2
+1
-1
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -284,11 +284,11 @@ | ||
| 284 | 284 | collect_argument(&extra, "compress",0); |
| 285 | 285 | collect_argument(&extra, "compress-only",0); |
| 286 | 286 | collect_argument(&extra, "noverify",0); |
| 287 | 287 | collect_argument_value(&extra, "pagesize", 0); |
| 288 | 288 | collect_argument(&extra, "vacuum",0); |
| 289 | - collect_argument(&extra, "deanalyze",0); | |
| 289 | + collect_argument(&extra, "deanalyze",0); /* Legacy only - not recommended */ | |
| 290 | 290 | collect_argument(&extra, "analyze",0); |
| 291 | 291 | collect_argument(&extra, "wal",0); |
| 292 | 292 | collect_argument(&extra, "stats",0); |
| 293 | 293 | collect_argument(&extra, "index",0); |
| 294 | 294 | collect_argument(&extra, "noindex",0); |
| 295 | 295 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -284,11 +284,11 @@ | |
| 284 | collect_argument(&extra, "compress",0); |
| 285 | collect_argument(&extra, "compress-only",0); |
| 286 | collect_argument(&extra, "noverify",0); |
| 287 | collect_argument_value(&extra, "pagesize", 0); |
| 288 | collect_argument(&extra, "vacuum",0); |
| 289 | collect_argument(&extra, "deanalyze",0); |
| 290 | collect_argument(&extra, "analyze",0); |
| 291 | collect_argument(&extra, "wal",0); |
| 292 | collect_argument(&extra, "stats",0); |
| 293 | collect_argument(&extra, "index",0); |
| 294 | collect_argument(&extra, "noindex",0); |
| 295 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -284,11 +284,11 @@ | |
| 284 | collect_argument(&extra, "compress",0); |
| 285 | collect_argument(&extra, "compress-only",0); |
| 286 | collect_argument(&extra, "noverify",0); |
| 287 | collect_argument_value(&extra, "pagesize", 0); |
| 288 | collect_argument(&extra, "vacuum",0); |
| 289 | collect_argument(&extra, "deanalyze",0); /* Legacy only - not recommended */ |
| 290 | collect_argument(&extra, "analyze",0); |
| 291 | collect_argument(&extra, "wal",0); |
| 292 | collect_argument(&extra, "stats",0); |
| 293 | collect_argument(&extra, "index",0); |
| 294 | collect_argument(&extra, "noindex",0); |
| 295 |
+1
-2
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -656,11 +656,10 @@ | ||
| 656 | 656 | ** Options: |
| 657 | 657 | ** --analyze Run ANALYZE on the database after rebuilding |
| 658 | 658 | ** --cluster Compute clusters for unclustered artifacts |
| 659 | 659 | ** --compress Strive to make the database as small as possible |
| 660 | 660 | ** --compress-only Skip the rebuilding step. Do --compress only |
| 661 | -** --deanalyze Remove ANALYZE tables from the database | |
| 662 | 661 | ** --force Force the rebuild to complete even if errors are seen |
| 663 | 662 | ** --ifneeded Only do the rebuild if it would change the schema version |
| 664 | 663 | ** --index Always add in the full-text search index |
| 665 | 664 | ** --noverify Skip the verification of changes to the BLOB table |
| 666 | 665 | ** --noindex Always omit the full-text search index |
| @@ -691,11 +690,11 @@ | ||
| 691 | 690 | |
| 692 | 691 | omitVerify = find_option("noverify",0,0)!=0; |
| 693 | 692 | forceFlag = find_option("force","f",0)!=0; |
| 694 | 693 | doClustering = find_option("cluster", 0, 0)!=0; |
| 695 | 694 | runVacuum = find_option("vacuum",0,0)!=0; |
| 696 | - runDeanalyze = find_option("deanalyze",0,0)!=0; | |
| 695 | + runDeanalyze = find_option("deanalyze",0,0)!=0; /* Legacy only. */ | |
| 697 | 696 | runAnalyze = find_option("analyze",0,0)!=0; |
| 698 | 697 | runCompress = find_option("compress",0,0)!=0; |
| 699 | 698 | zPagesize = find_option("pagesize",0,1); |
| 700 | 699 | showStats = find_option("stats",0,0)!=0; |
| 701 | 700 | optIndex = find_option("index",0,0)!=0; |
| 702 | 701 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -656,11 +656,10 @@ | |
| 656 | ** Options: |
| 657 | ** --analyze Run ANALYZE on the database after rebuilding |
| 658 | ** --cluster Compute clusters for unclustered artifacts |
| 659 | ** --compress Strive to make the database as small as possible |
| 660 | ** --compress-only Skip the rebuilding step. Do --compress only |
| 661 | ** --deanalyze Remove ANALYZE tables from the database |
| 662 | ** --force Force the rebuild to complete even if errors are seen |
| 663 | ** --ifneeded Only do the rebuild if it would change the schema version |
| 664 | ** --index Always add in the full-text search index |
| 665 | ** --noverify Skip the verification of changes to the BLOB table |
| 666 | ** --noindex Always omit the full-text search index |
| @@ -691,11 +690,11 @@ | |
| 691 | |
| 692 | omitVerify = find_option("noverify",0,0)!=0; |
| 693 | forceFlag = find_option("force","f",0)!=0; |
| 694 | doClustering = find_option("cluster", 0, 0)!=0; |
| 695 | runVacuum = find_option("vacuum",0,0)!=0; |
| 696 | runDeanalyze = find_option("deanalyze",0,0)!=0; |
| 697 | runAnalyze = find_option("analyze",0,0)!=0; |
| 698 | runCompress = find_option("compress",0,0)!=0; |
| 699 | zPagesize = find_option("pagesize",0,1); |
| 700 | showStats = find_option("stats",0,0)!=0; |
| 701 | optIndex = find_option("index",0,0)!=0; |
| 702 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -656,11 +656,10 @@ | |
| 656 | ** Options: |
| 657 | ** --analyze Run ANALYZE on the database after rebuilding |
| 658 | ** --cluster Compute clusters for unclustered artifacts |
| 659 | ** --compress Strive to make the database as small as possible |
| 660 | ** --compress-only Skip the rebuilding step. Do --compress only |
| 661 | ** --force Force the rebuild to complete even if errors are seen |
| 662 | ** --ifneeded Only do the rebuild if it would change the schema version |
| 663 | ** --index Always add in the full-text search index |
| 664 | ** --noverify Skip the verification of changes to the BLOB table |
| 665 | ** --noindex Always omit the full-text search index |
| @@ -691,11 +690,11 @@ | |
| 690 | |
| 691 | omitVerify = find_option("noverify",0,0)!=0; |
| 692 | forceFlag = find_option("force","f",0)!=0; |
| 693 | doClustering = find_option("cluster", 0, 0)!=0; |
| 694 | runVacuum = find_option("vacuum",0,0)!=0; |
| 695 | runDeanalyze = find_option("deanalyze",0,0)!=0; /* Legacy only. */ |
| 696 | runAnalyze = find_option("analyze",0,0)!=0; |
| 697 | runCompress = find_option("compress",0,0)!=0; |
| 698 | zPagesize = find_option("pagesize",0,1); |
| 699 | showStats = find_option("stats",0,0)!=0; |
| 700 | optIndex = find_option("index",0,0)!=0; |
| 701 |