Mercurial > hg
comparison contrib/churn.py @ 3792:4670470b97bd
Fix revrange() call in the churn contrib
author | Edouard Gomez <ed.gomez@free.fr> |
---|---|
date | Tue, 05 Dec 2006 14:58:32 +0100 |
parents | 53e843840349 |
children | abaee83ce0a6 |
comparison
equal
deleted
inserted
replaced
3789:734b1d6ba3dc | 3792:4670470b97bd |
---|---|
148 return | 148 return |
149 | 149 |
150 amap = get_aliases(f) | 150 amap = get_aliases(f) |
151 f.close() | 151 f.close() |
152 | 152 |
153 revs = [int(r) for r in cmdutil.revrange(ui, repo, opts['rev'])] | 153 revs = [int(r) for r in cmdutil.revrange(repo, opts['rev'])] |
154 revs.sort() | 154 revs.sort() |
155 stats = gather_stats(ui, repo, amap, revs, opts.get('progress')) | 155 stats = gather_stats(ui, repo, amap, revs, opts.get('progress')) |
156 | 156 |
157 # make a list of tuples (name, lines) and sort it in descending order | 157 # make a list of tuples (name, lines) and sort it in descending order |
158 ordered = stats.items() | 158 ordered = stats.items() |