diff -r 818c2f0a5c84 -r 961900fbd67c mercurial/bundlecaches.py --- 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: