diff -r 5bb5d4ba14e5 -r 7a20fe8dc080 mercurial/wireproto.py --- a/mercurial/wireproto.py Thu Apr 17 02:01:38 2014 -0400 +++ b/mercurial/wireproto.py Thu Apr 17 15:27:54 2014 -0400 @@ -335,7 +335,7 @@ if bundlecaps is not None: opts['bundlecaps'] = ','.join(bundlecaps) f = self._callcompressable("getbundle", **opts) - if bundlecaps is not None and 'HG20' in bundlecaps: + if bundlecaps is not None and 'HG2X' in bundlecaps: return bundle2.unbundle20(self.ui, f) else: return changegroupmod.unbundle10(f, 'UN')