Fossil SCM

fossil configuration push doesn't honor proxy

Fixed

0d1a4fe14f1fb6e… · opened 15 years, 8 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
July 29, 2010 1:21 p.m.

'fossil push' honors proxy setting, but 'fossil configuration push' doesn't.


anonymous claiming to be Urmil added on 2010-07-29 13:23:49:
... may be true with 'fossil configuration pull' as well - haven't checked that.


anonymous claiming to be urmil added on 2010-08-26 07:30:55:
Here is the patch to fix this:


--- src/configure.c
+++ src/configure.c
@@ -459,10 +459,11 @@
       zPw = db_get("last-sync-pw", 0);
     }
     url_parse(zServer);
     if( g.urlPasswd==0 && zPw ) g.urlPasswd = mprintf("%s", zPw);
     user_select();
+    url_enable_proxy("via proxy: ");
     if( strncmp(zMethod, "push", n)==0 ){
       client_sync(0,0,0,0,mask);
     }else{
       client_sync(0,0,0,mask,0);
     }

Keyboard Shortcuts

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