--- a/mercurial/url.py Sun Feb 25 23:34:58 2018 -0500
+++ b/mercurial/url.py Sun Feb 25 23:51:32 2018 -0500
@@ -470,17 +470,9 @@
construct an opener suitable for urllib2
authinfo will be added to the password manager
'''
- # experimental config: ui.usehttp2
- if ui.configbool('ui', 'usehttp2'):
- handlers = [
- httpconnectionmod.http2handler(
- ui,
- passwordmgr(ui, ui.httppasswordmgrdb))
- ]
- else:
- handlers = [httphandler()]
- if has_https:
- handlers.append(httpshandler(ui))
+ handlers = [httphandler()]
+ if has_https:
+ handlers.append(httpshandler(ui))
handlers.append(proxyhandler(ui))