mercurial/url.py
changeset 36426 23d12524a202
parent 36422 04c319a07c7b
child 36454 698fe0f6eb5c
--- 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))