hgext/churn.py
changeset 28472 70d3dc05e118
parent 28094 79fc627578ac
child 28628 ed1d90f6e921
equal deleted inserted replaced
28471:f106913c6a4e 28472:70d3dc05e118
    92             ctx1 = parents[0]
    92             ctx1 = parents[0]
    93             lines = changedlines(ui, repo, ctx1, ctx, fns)
    93             lines = changedlines(ui, repo, ctx1, ctx, fns)
    94             rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)]
    94             rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)]
    95 
    95 
    96         state['count'] += 1
    96         state['count'] += 1
    97         ui.progress(_('analyzing'), state['count'], total=len(repo))
    97         ui.progress(_('analyzing'), state['count'], total=len(repo),
       
    98                     unit=_('revisions'))
    98 
    99 
    99     for ctx in cmdutil.walkchangerevs(repo, m, opts, prep):
   100     for ctx in cmdutil.walkchangerevs(repo, m, opts, prep):
   100         continue
   101         continue
   101 
   102 
   102     ui.progress(_('analyzing'), None)
   103     ui.progress(_('analyzing'), None)