Fossil SCM

Honor the command line option also for remote-url.

andybradford 2014-01-30 03:37 UTC http-auth
Commit 72014480dc13fc5eda5dd9d44d12ea985e634ae8
1 file changed +1
+1
--- src/sync.c
+++ src/sync.c
@@ -257,10 +257,11 @@
257257
**
258258
** See also: clone, push, pull, sync
259259
*/
260260
void remote_url_cmd(void){
261261
char *zUrl;
262
+ g.fUseHttpAuth = find_option("httpauth",0,0)!=0;
262263
db_find_and_open_repository(0, 0);
263264
if( g.argc!=2 && g.argc!=3 ){
264265
usage("remote-url ?URL|off?");
265266
}
266267
if( g.argc==3 ){
267268
--- 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

Keyboard Shortcuts

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