mercurial/bundlecaches.py
branchstable
changeset 52957 961900fbd67c
parent 51978 aa7f4a45d8fa
child 52963 42f78c859dd1
child 53028 89ab2459f62a
--- a/mercurial/bundlecaches.py	Tue Feb 11 22:14:35 2025 -0500
+++ b/mercurial/bundlecaches.py	Tue Feb 18 10:33:30 2025 +0100
@@ -318,10 +318,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: