mercurial/httppeer.py
changeset 51736 7226f2626fb1
parent 51735 78f789a4c8a2
child 51859 f4733654f144
--- a/mercurial/httppeer.py	Fri Jul 26 21:59:34 2024 -0400
+++ b/mercurial/httppeer.py	Mon Jul 29 12:10:08 2024 -0400
@@ -492,6 +492,9 @@
             # boolean capability. They only support headerless/uncompressed
             # bundles.
             types = [b""]
+
+        type = b""
+
         for x in types:
             if x in bundle2.bundletypes:
                 type = x