mercurial/bundle2.py
changeset 49648 9be765b82a90
parent 49336 290c29df1915
child 49764 4188e75af983
--- a/mercurial/bundle2.py	Sun Nov 20 22:54:43 2022 -0500
+++ b/mercurial/bundle2.py	Wed Nov 23 11:22:22 2022 -0500
@@ -1938,7 +1938,12 @@
             raise error.Abort(
                 _(b'old bundle types only supports v1 changegroups')
             )
+
+        # HG20 is the case without 2 values to unpack, but is handled above.
+        # pytype: disable=bad-unpacking
         header, comp = bundletypes[bundletype]
+        # pytype: enable=bad-unpacking
+
         if comp not in util.compengines.supportedbundletypes:
             raise error.Abort(_(b'unknown stream compression type: %s') % comp)
         compengine = util.compengines.forbundletype(comp)