Fossil

Check-in [5347e263]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Restore the -R option to the "fossil setting" command.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5347e2632694fccce969c27e9f64d06e87d1c9ff
User & Date: drh 2016-11-22 22:23:04.510
Context
2016-11-22
22:26
Update the built-in SQLite to 3.16.0 alpha for testing. ... (check-in: 31ae6022 user: drh tags: trunk)
22:23
Restore the -R option to the "fossil setting" command. ... (check-in: 5347e263 user: drh tags: trunk)
2016-11-19
20:11
minor simplification, and don't free zUuid if it was NULL ... (check-in: d6cb724e user: jan.nijtmans tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
3083
3084
3085
3086
3087
3088
3089

3090
3091
3092
3093
3094
3095
3096
** See also: configuration
*/
void setting_cmd(void){
  int i;
  int globalFlag = find_option("global","g",0)!=0;
  int exactFlag = find_option("exact",0,0)!=0;
  int unsetFlag = g.argv[1][0]=='u';

  verify_all_options();
  db_open_config(1, 0);
  if( !globalFlag ){
    db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
  }
  if( !g.repositoryOpen ){
    globalFlag = 1;







>







3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
** See also: configuration
*/
void setting_cmd(void){
  int i;
  int globalFlag = find_option("global","g",0)!=0;
  int exactFlag = find_option("exact",0,0)!=0;
  int unsetFlag = g.argv[1][0]=='u';
  find_repository_option();
  verify_all_options();
  db_open_config(1, 0);
  if( !globalFlag ){
    db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
  }
  if( !g.repositoryOpen ){
    globalFlag = 1;