mercurial/bundlerepo.py
changeset 24686 e0e28e910fa3
parent 24306 6ddc86eedc3b
child 24834 6e31e1274080
equal deleted inserted replaced
24685:b3d78d82d84c 24686:e0e28e910fa3
   238                                                                 bundlename,
   238                                                                 bundlename,
   239                                                                 self.vfs)
   239                                                                 self.vfs)
   240 
   240 
   241         if isinstance(self.bundle, bundle2.unbundle20):
   241         if isinstance(self.bundle, bundle2.unbundle20):
   242             cgparts = [part for part in self.bundle.iterparts()
   242             cgparts = [part for part in self.bundle.iterparts()
   243                        if (part.type == 'b2x:changegroup')
   243                        if (part.type == 'changegroup')
   244                        and (part.params.get('version', '01')
   244                        and (part.params.get('version', '01')
   245                             in changegroup.packermap)]
   245                             in changegroup.packermap)]
   246 
   246 
   247             if not cgparts:
   247             if not cgparts:
   248                 raise util.Abort('No changegroups found')
   248                 raise util.Abort('No changegroups found')