mercurial/wireproto.py
changeset 34613 5e61cd5fb0fc
parent 34322 10e162bb9bf5
child 34726 daf12f69699f
--- a/mercurial/wireproto.py	Wed Oct 11 04:16:17 2017 +0200
+++ b/mercurial/wireproto.py	Wed Oct 11 17:51:40 2017 +0200
@@ -595,11 +595,11 @@
     gd = 'generaldelta' in repo.requirements
 
     if gd:
-        v = ui.configbool('server', 'bundle1gd.%s' % action, None)
+        v = ui.configbool('server', 'bundle1gd.%s' % action)
         if v is not None:
             return v
 
-    v = ui.configbool('server', 'bundle1.%s' % action, None)
+    v = ui.configbool('server', 'bundle1.%s' % action)
     if v is not None:
         return v