diff mercurial/hgweb/hgweb_mod.py @ 2622:064aef9162cc

rename stream hgrc option to compressed.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 16 Jul 2006 10:04:16 -0700
parents 5a5852a417b1
children ebf033bc8eb2 8a798185809d
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -861,7 +861,7 @@ class hgweb(object):
 
     def do_capabilities(self, req):
         caps = ['unbundle']
-        if self.repo.ui.configbool('server', 'stream'):
+        if self.repo.ui.configbool('server', 'uncompressed'):
             caps.append('stream=%d' % self.repo.revlogversion)
         resp = ' '.join(caps)
         req.httphdr("application/mercurial-0.1", length=len(resp))