diff -r d3137827016a -r 90f86ad3d4ff mercurial/wireproto.py --- a/mercurial/wireproto.py Tue Oct 14 02:32:26 2014 -0700 +++ b/mercurial/wireproto.py Wed Oct 01 23:40:23 2014 -0500 @@ -359,7 +359,7 @@ opts[key] = value f = self._callcompressable("getbundle", **opts) bundlecaps = kwargs.get('bundlecaps') - if bundlecaps is not None and 'HG2X' in bundlecaps: + if bundlecaps is not None and 'HG2Y' in bundlecaps: return bundle2.unbundle20(self.ui, f) else: return changegroupmod.cg1unpacker(f, 'UN')