changeset 24686 | e0e28e910fa3 |
parent 24306 | 6ddc86eedc3b |
child 24834 | 6e31e1274080 |
--- 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)]