-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Howdy,

Discovered that the rebuild command supported an undocumented option,
- --quiet.  Since 'fossil help' was, er, quiet about the quiet option, I've
created a patch that mentions it when doing a 'fossil help rebuild'.

Example output:

Usage: ./fossil rebuild ?REPOSITORY? ?OPTIONS?

Reconstruct the named repository database from the core
records.  Run this command after updating the fossil
executable in a way that changes the database schema.

Options:
  --analyze         Run ANALYZE on the database after rebuilding
  --cluster         Compute clusters for unclustered artifacts
  --compress        Strive to make the database as small as possible
  --compress-only   Skip the rebuilding step. Do --compress only
  --deanalyze       Remove ANALYZE tables from the database
  --force           Force the rebuild to complete even if errors are seen
  --ifneeded        Only do the rebuild if it would change the schema version
  --index           Always add in the full-text search index
  --noverify        Skip the verification of changes to the BLOB table
  --noindex         Always omit the full-text search index
  --pagesize N      Set the database pagesize to N. (512..65536 and power of 2)
  --quiet           Only show output if there are errors
  --randomize       Scan artifacts in a random order
  --stats           Show artifact statistics after rebuilding
  --vacuum          Run VACUUM on the database after rebuilding
  --wal             Set Write-Ahead-Log journalling mode on the database

See also: deconstruct, reconstruct

I am attaching the following:

 1. A bundle file containing the patch (thanks for adding that feature
    BTW!)
 2. An 'old school' diff/patch with the change in it.

Please let me know if you have any questions or concerns.

Cheers!

- -- 
Christopher M. Fuhrman
cfuhr...@pobox.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCAAGBQJWN6/eAAoJEJMBHfiIBijR0pwH/0tQumInHYvu9S1Vvb5H/4tc
AqrHdUn+nsGUd1no6gFfW3DS98bkfMxtNMhdtCV5TrGeVcXU9o4c8Op4UxQHOVE4
3qEqes7q1yTTLZH9w0puFnXx9kN3KJ8yPjs1+ck2dCWv6Jf7Yt86xFtDni1H2rb3
P3EzXBLVdNVQxvhmqsnNARR+SXa0p1shPUoxlouL+/zQOjkZyymszkdZJvYLlYC3
fohjQelmH8KB/FkJarj9H9dDf0wIeqLZjtfcwI0JYd+cDkcBXI1nznC/eHpX3gcc
XNzB1rsbmam/UUJHJIeyquB+D4lDOqbcMjalpphJJmmLWjAYgV3KrKsG8Lzj2x4=
=I5RP
-----END PGP SIGNATURE-----
Index: src/rebuild.c
==================================================================
--- src/rebuild.c
+++ src/rebuild.c
@@ -533,10 +533,11 @@
 **   --ifneeded        Only do the rebuild if it would change the schema 
version
 **   --index           Always add in the full-text search index
 **   --noverify        Skip the verification of changes to the BLOB table
 **   --noindex         Always omit the full-text search index
 **   --pagesize N      Set the database pagesize to N. (512..65536 and power 
of 2)
+**   --quiet           Only show output if there are errors
 **   --randomize       Scan artifacts in a random order
 **   --stats           Show artifact statistics after rebuilding
 **   --vacuum          Run VACUUM on the database after rebuilding
 **   --wal             Set Write-Ahead-Log journalling mode on the database
 **

Attachment: cmf-doc-quiet-rebuild.bundle
Description: Binary data

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to