diff mercurial/changegroup.py @ 26272:59c410db8c68

readbundle: fix typo of None compression The test simulates pre-d1b16a746db6 hgweb that sends "unbundle" capability with no argument.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 18 Sep 2015 21:32:43 +0900
parents a0eff7ebc2ae
children 127b59787fd5
line wrap: on
line diff
--- a/mercurial/changegroup.py	Fri Sep 11 17:06:56 2015 -0700
+++ b/mercurial/changegroup.py	Fri Sep 18 21:32:43 2015 +0900
@@ -80,7 +80,7 @@
     return result
 
 bundletypes = {
-    "": ("", 'None'),     # 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