Fossil SCM
Fix the "fossil open" command so that it honors global settings.
Commit
24420b4e638d0b5cddd0427b811aa981a3139f4681026948441ba3217608896b
Parent
9445f8a8a2b5177…
1 file changed
+1
M
src/db.c
+1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3756,10 +3756,11 @@ | ||
| 3756 | 3756 | fossil_fatal("the --repodir option only makes sense if the REPOSITORY " |
| 3757 | 3757 | "argument is a URI that begins with http:, https:, ssh:, " |
| 3758 | 3758 | "or file:"); |
| 3759 | 3759 | } |
| 3760 | 3760 | |
| 3761 | + db_open_config(0,0); | |
| 3761 | 3762 | db_open_repository(zRepo); |
| 3762 | 3763 | |
| 3763 | 3764 | /* Figure out which revision to open. */ |
| 3764 | 3765 | if( !emptyFlag ){ |
| 3765 | 3766 | if( g.argc==4 ){ |
| 3766 | 3767 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3756,10 +3756,11 @@ | |
| 3756 | fossil_fatal("the --repodir option only makes sense if the REPOSITORY " |
| 3757 | "argument is a URI that begins with http:, https:, ssh:, " |
| 3758 | "or file:"); |
| 3759 | } |
| 3760 | |
| 3761 | db_open_repository(zRepo); |
| 3762 | |
| 3763 | /* Figure out which revision to open. */ |
| 3764 | if( !emptyFlag ){ |
| 3765 | if( g.argc==4 ){ |
| 3766 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3756,10 +3756,11 @@ | |
| 3756 | fossil_fatal("the --repodir option only makes sense if the REPOSITORY " |
| 3757 | "argument is a URI that begins with http:, https:, ssh:, " |
| 3758 | "or file:"); |
| 3759 | } |
| 3760 | |
| 3761 | db_open_config(0,0); |
| 3762 | db_open_repository(zRepo); |
| 3763 | |
| 3764 | /* Figure out which revision to open. */ |
| 3765 | if( !emptyFlag ){ |
| 3766 | if( g.argc==4 ){ |
| 3767 |