diff -r b3d78d82d84c -r e0e28e910fa3 mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Wed Apr 08 09:38:09 2015 -0700 +++ b/mercurial/bundlerepo.py Thu Apr 09 16:25:48 2015 -0400 @@ -240,7 +240,7 @@ if isinstance(self.bundle, bundle2.unbundle20): cgparts = [part for part in self.bundle.iterparts() - if (part.type == 'b2x:changegroup') + if (part.type == 'changegroup') and (part.params.get('version', '01') in changegroup.packermap)]