Fossil SCM
Restore the -R option to the "fossil setting" command.
Commit
5347e2632694fccce969c27e9f64d06e87d1c9ff
Parent
d6cb724e653611f…
1 file changed
+1
M
src/db.c
+1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3085,10 +3085,11 @@ | ||
| 3085 | 3085 | void setting_cmd(void){ |
| 3086 | 3086 | int i; |
| 3087 | 3087 | int globalFlag = find_option("global","g",0)!=0; |
| 3088 | 3088 | int exactFlag = find_option("exact",0,0)!=0; |
| 3089 | 3089 | int unsetFlag = g.argv[1][0]=='u'; |
| 3090 | + find_repository_option(); | |
| 3090 | 3091 | verify_all_options(); |
| 3091 | 3092 | db_open_config(1, 0); |
| 3092 | 3093 | if( !globalFlag ){ |
| 3093 | 3094 | db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0); |
| 3094 | 3095 | } |
| 3095 | 3096 |
| --- 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 |