Fossil SCM

Restore the -R option to the "fossil setting" command.

drh 2016-11-22 22:23 trunk
Commit 5347e2632694fccce969c27e9f64d06e87d1c9ff
1 file changed +1
+1
--- src/db.c
+++ src/db.c
@@ -3085,10 +3085,11 @@
30853085
void setting_cmd(void){
30863086
int i;
30873087
int globalFlag = find_option("global","g",0)!=0;
30883088
int exactFlag = find_option("exact",0,0)!=0;
30893089
int unsetFlag = g.argv[1][0]=='u';
3090
+ find_repository_option();
30903091
verify_all_options();
30913092
db_open_config(1, 0);
30923093
if( !globalFlag ){
30933094
db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
30943095
}
30953096
--- src/db.c
+++ src/db.c
@@ -3085,10 +3085,11 @@
3085 void setting_cmd(void){
3086 int i;
3087 int globalFlag = find_option("global","g",0)!=0;
3088 int exactFlag = find_option("exact",0,0)!=0;
3089 int unsetFlag = g.argv[1][0]=='u';
 
3090 verify_all_options();
3091 db_open_config(1, 0);
3092 if( !globalFlag ){
3093 db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
3094 }
3095
--- src/db.c
+++ src/db.c
@@ -3085,10 +3085,11 @@
3085 void setting_cmd(void){
3086 int i;
3087 int globalFlag = find_option("global","g",0)!=0;
3088 int exactFlag = find_option("exact",0,0)!=0;
3089 int unsetFlag = g.argv[1][0]=='u';
3090 find_repository_option();
3091 verify_all_options();
3092 db_open_config(1, 0);
3093 if( !globalFlag ){
3094 db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0);
3095 }
3096

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button