changeset 25837:d343806dcf68

http2: mark experimental and developer options
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:48:43 -0500
parents dede675dc0c1
children 31137258ae8b
files mercurial/httpconnection.py mercurial/url.py
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: