Show More
@@ -230,6 +230,9 b' class httprepository(remoterepository):' | |||||
230 | # "http_proxy.always" config is for running tests on localhost |
|
230 | # "http_proxy.always" config is for running tests on localhost | |
231 | if (not ui.configbool("http_proxy", "always") and |
|
231 | if (not ui.configbool("http_proxy", "always") and | |
232 | host.lower() in no_list): |
|
232 | host.lower() in no_list): | |
|
233 | # avoid auto-detection of proxy settings by appending | |||
|
234 | # a ProxyHandler with no proxies defined. | |||
|
235 | handlers.append(urllib2.ProxyHandler({})) | |||
233 | ui.debug(_('disabling proxy for %s\n') % host) |
|
236 | ui.debug(_('disabling proxy for %s\n') % host) | |
234 | else: |
|
237 | else: | |
235 | proxyurl = urlparse.urlunsplit(( |
|
238 | proxyurl = urlparse.urlunsplit(( |
General Comments 0
You need to be logged in to leave comments.
Login now