hgext/patchbomb.py
changeset 7616 b9bd6f789633
parent 7615 ab39d1813e51
child 7685 161412a3341c
equal deleted inserted replaced
7615:ab39d1813e51 7616:b9bd6f789633
   295 
   295 
   296         ui.write(_('This patch series consists of %d patches.\n\n')
   296         ui.write(_('This patch series consists of %d patches.\n\n')
   297                  % len(patches))
   297                  % len(patches))
   298 
   298 
   299         name = None
   299         name = None
   300         for p, i in zip(patches, xrange(len(patches))):
   300         for i, p in enumerate(patches):
   301             jumbo.extend(p)
   301             jumbo.extend(p)
   302             if patchnames:
   302             if patchnames:
   303                 name = patchnames[i]
   303                 name = patchnames[i]
   304             msg = makepatch(ui, repo, p, opts, _charsets, i + 1,
   304             msg = makepatch(ui, repo, p, opts, _charsets, i + 1,
   305                             len(patches), name)
   305                             len(patches), name)