readbundle: map 'HG10UN' to None compression
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 11 Sep 2015 17:06:56 -0700
changeset 26271 a0eff7ebc2ae
parent 26270 a5f5a815a006
child 26272 59c410db8c68
readbundle: map 'HG10UN' to None compression In line with the other previous changes
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Fri Sep 11 17:06:02 2015 -0700
+++ b/mercurial/changegroup.py	Fri Sep 11 17:06:56 2015 -0700
@@ -80,11 +80,11 @@
     return result
 
 bundletypes = {
-    "": ("", 'UN'),       # only when using unbundle on ssh and old http servers
+    "": ("", 'None'),     # only when using unbundle on ssh and old http servers
                           # since the unification ssh accepts a header but there
                           # is no capability signaling it.
     "HG20": (), # special-cased below
-    "HG10UN": ("HG10UN", 'UN'),
+    "HG10UN": ("HG10UN", None),
     "HG10BZ": ("HG10", 'BZ'),
     "HG10GZ": ("HG10GZ", 'GZ'),
 }