mercurial/bundlecaches.py
changeset 52963 42f78c859dd1
parent 52727 48572371d478
parent 52957 961900fbd67c
child 53031 e705fec4a03f
--- a/mercurial/bundlecaches.py	Tue Feb 18 16:57:50 2025 +0100
+++ b/mercurial/bundlecaches.py	Tue Feb 18 22:49:43 2025 +0100
@@ -317,10 +317,10 @@
             % compression
         )
 
-    # The specification for packed1 can optionally declare the data formats
+    # The specification for stream bundles can optionally declare the data formats
     # required to apply it. If we see this metadata, compare against what the
     # repo supports and error if the bundle isn't compatible.
-    if version == b'packed1' and b'requirements' in params:
+    if b'requirements' in params:
         requirements = set(cast(bytes, params[b'requirements']).split(b','))
         missingreqs = requirements - requirementsmod.STREAM_FIXED_REQUIREMENTS
         if missingreqs: