hgext/churn.py
changeset 36392 e9bcc2efb7e8
parent 35888 c8e2d6ed1f9e
child 36607 c6061cadb400
equal deleted inserted replaced
36391:3fe0507a4dcd 36392:e9bcc2efb7e8
   169                 l = l.strip()
   169                 l = l.strip()
   170                 if l:
   170                 if l:
   171                     ui.warn(_("skipping malformed alias: %s\n") % l)
   171                     ui.warn(_("skipping malformed alias: %s\n") % l)
   172                 continue
   172                 continue
   173 
   173 
   174     rate = countrate(ui, repo, amap, *pats, **opts).items()
   174     rate = list(countrate(ui, repo, amap, *pats, **opts).items())
   175     if not rate:
   175     if not rate:
   176         return
   176         return
   177 
   177 
   178     if opts.get(r'sort'):
   178     if opts.get(r'sort'):
   179         rate.sort()
   179         rate.sort()