settings

vb settings [SETTING] [VALUE] [OPTIONS]

Description

The settings command with no arguments lists all settings and their values. With just a SETTING name it shows the current value of that setting. With a VALUE argument it changes the property for the current repository.

Settings marked as versionable are overridden by the contents of the file named .vb-settings/PROPERTY in the check-out root, if that file exists.

The unset command clears a setting.

Settings can have both a local repository-only value and global value that applies to all repositories. The local values are stored in the config table of the repository and the global values are stored in the configuration database. If both a local and a global value exists for a setting, the local value takes precedence. This command normally operates on the local settings. Use the --global option to change global settings.

Options

--changed

Only show settings if the value differs from the default

--exact

Only consider exact name matches

--global

Set the given property globally instead of setting it for the open repository only

--value

Only show the value of a given property (implies --exact)

Examples

  • Change a setting locally and show changed ones

$ vb settings case-sensitive TRUE
$ vb settings case-sensitive
case-sensitive           (local)     TRUE
  • List only changed settings with –changed option

$ vb settings --changed
kvdb-server              (local)     http://127.0.0.1:2379
  • List all settings

$ vb settings
access-log              
admin-log               
allow-symlinks          
auto-captcha            
auto-hyperlink          
auto-hyperlink-delay    
auto-hyperlink-mouseover
auto-shun               
autosync                
autosync-tries          
backoffice-disable      
backoffice-logfile      
backoffice-nodelay      
binary-glob             
case-sensitive           (local)     TRUE
chat-alert-sound        
chat-initial-history    
chat-inline-images      
chat-keep-count         
chat-keep-days          
chat-poll-timeout       
chat-timeline-user      
clean-glob              
clearsign               
comment-format          
crlf-glob               
crnl-glob               
default-csp             
default-perms           
default-skin            
diff-binary             
diff-command            
display-extra           
dont-commit             
dont-push               
dotfiles                
editor                  
email-admin             
email-listid            
email-renew-interval    
email-self              
email-send-command      
email-send-db           
email-send-dir          
email-send-method       
email-send-relayhost    
email-subname           
email-url               
empty-dirs              
encoding-glob           
exec-rel-paths          
export-pdf-font         
fileedit-glob           
forbid-delta-manifests  
forum-close-policy      
forum-title             
gdiff-command           
gmerge-command          
hash-digits             
hooks                   
http-port               
https-login             
ignore-glob             
keep-glob               
kvdb-enable              (local)     1
kvdb-password           
kvdb-server              (local)     http://127.0.0.1:2379
kvdb-username           
large-file-size         
localauth               
lock-timeout            
main-branch             
mainmenu                
manifest                
max-body-size           
max-cache-entry         
max-loadavg             
max-upload              
mimetypes               
mtime-changes           
mv-rm-files             
pgp-command             
preferred-diff-type     
proxy                   
raw-bgcolor             
redirect-to-https       
relative-paths          
repo-cksum              
repolist-skin           
robot-restrict          
robots-txt              
safe-html               
self-pw-reset           
self-register           
sitemap-extra           
ssh-command             
ssl-ca-location         
ssl-identity            
tclsh                   
th1-setup               
th1-uri-regexp          
ticket-default-report   
timeline-hard-newlines  
timeline-plaintext      
timeline-truncate-at-blank
timeline-tslink-info    
timeline-utc            
user-color-map          
uv-sync                 
verify-comments         
vuln-report             
web-browser

See Also

See also

configuration, unset