Fossil

View Ticket
Login

View Ticket

Ticket Hash: 0d1a4fe14f1fb6ee208276bb69e7ab5948048c97
Title: fossil configuration push doesn't honor proxy
Status: Fixed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Fixed
Last Modified: 2010-08-26 11:31:40
Version Found In: [0e1ca296db]
Description:
'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);
     }

Attachments: