mercurial/wireprotov1server.py
changeset 46666 f4c325bf80fc
parent 46665 ee91966aec0f
child 46819 d4ba4d51f85f
--- a/mercurial/wireprotov1server.py	Wed Mar 03 14:00:45 2021 +0100
+++ b/mercurial/wireprotov1server.py	Wed Mar 03 12:30:23 2021 +0100
@@ -109,7 +109,7 @@
     4. server.bundle1
     """
     ui = repo.ui
-    gd = b'generaldelta' in repo.requirements
+    gd = requirementsmod.GENERALDELTA_REQUIREMENT in repo.requirements
 
     if gd:
         v = ui.configbool(b'server', b'bundle1gd.%s' % action)