mercurial/bundlecaches.py
changeset 48601 baddab229b86
parent 47342 dc3800569157
child 48946 642e31cb55f0
--- a/mercurial/bundlecaches.py	Mon Jan 24 11:49:06 2022 +0100
+++ b/mercurial/bundlecaches.py	Mon Jan 17 19:26:36 2022 +0100
@@ -195,7 +195,7 @@
     # repo supports and error if the bundle isn't compatible.
     if version == b'packed1' and b'requirements' in params:
         requirements = set(params[b'requirements'].split(b','))
-        missingreqs = requirements - repo.supportedformats
+        missingreqs = requirements - requirementsmod.STREAM_FIXED_REQUIREMENTS
         if missingreqs:
             raise error.UnsupportedBundleSpecification(
                 _(b'missing support for repository features: %s')