http2: mark experimental and developer options
authorMatt Mackall <mpm@selenic.com>
Thu, 25 Jun 2015 17:48:43 -0500
changeset 25837 d343806dcf68
parent 25836 dede675dc0c1
child 25838 31137258ae8b
http2: mark experimental and developer options
mercurial/httpconnection.py
mercurial/url.py
--- a/mercurial/httpconnection.py	Thu Jun 25 17:47:32 2015 -0500
+++ b/mercurial/httpconnection.py	Thu Jun 25 17:48:43 2015 -0500
@@ -126,6 +126,7 @@
         self.ui = ui
         self.pwmgr = pwmgr
         self._connections = {}
+        # developer config: ui.http2debuglevel
         loglevel = ui.config('ui', 'http2debuglevel', default=None)
         if loglevel and not _configuredlogging:
             _configuredlogging = True
--- a/mercurial/url.py	Thu Jun 25 17:47:32 2015 -0500
+++ b/mercurial/url.py	Thu Jun 25 17:48:43 2015 -0500
@@ -469,6 +469,7 @@
     construct an opener suitable for urllib2
     authinfo will be added to the password manager
     '''
+    # experimental config: ui.usehttp2
     if ui.configbool('ui', 'usehttp2', False):
         handlers = [httpconnectionmod.http2handler(ui, passwordmgr(ui))]
     else: