Fossil SCM
Honor the command line option also for remote-url.
Commit
72014480dc13fc5eda5dd9d44d12ea985e634ae8
Parent
e747041a721b7ca…
1 file changed
+1
+1
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -257,10 +257,11 @@ | ||
| 257 | 257 | ** |
| 258 | 258 | ** See also: clone, push, pull, sync |
| 259 | 259 | */ |
| 260 | 260 | void remote_url_cmd(void){ |
| 261 | 261 | char *zUrl; |
| 262 | + g.fUseHttpAuth = find_option("httpauth",0,0)!=0; | |
| 262 | 263 | db_find_and_open_repository(0, 0); |
| 263 | 264 | if( g.argc!=2 && g.argc!=3 ){ |
| 264 | 265 | usage("remote-url ?URL|off?"); |
| 265 | 266 | } |
| 266 | 267 | if( g.argc==3 ){ |
| 267 | 268 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -257,10 +257,11 @@ | |
| 257 | ** |
| 258 | ** See also: clone, push, pull, sync |
| 259 | */ |
| 260 | void remote_url_cmd(void){ |
| 261 | char *zUrl; |
| 262 | db_find_and_open_repository(0, 0); |
| 263 | if( g.argc!=2 && g.argc!=3 ){ |
| 264 | usage("remote-url ?URL|off?"); |
| 265 | } |
| 266 | if( g.argc==3 ){ |
| 267 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -257,10 +257,11 @@ | |
| 257 | ** |
| 258 | ** See also: clone, push, pull, sync |
| 259 | */ |
| 260 | void remote_url_cmd(void){ |
| 261 | char *zUrl; |
| 262 | g.fUseHttpAuth = find_option("httpauth",0,0)!=0; |
| 263 | db_find_and_open_repository(0, 0); |
| 264 | if( g.argc!=2 && g.argc!=3 ){ |
| 265 | usage("remote-url ?URL|off?"); |
| 266 | } |
| 267 | if( g.argc==3 ){ |
| 268 |