Mercurial > public > mercurial-scm > hg-stable
diff contrib/churn.py @ 3223:53e843840349
Whitespace/Tab cleanup
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 01 Oct 2006 19:26:33 +0200 |
parents | eeaf9bcdfa25 |
children | 4670470b97bd |
line wrap: on
line diff
--- a/contrib/churn.py Thu Sep 21 21:24:53 2006 +0200 +++ b/contrib/churn.py Sun Oct 01 19:26:33 2006 +0200 @@ -58,7 +58,7 @@ for f in added: lines += dirtywork(f, None, mmap2) - + for f in removed: lines += dirtywork(f, mmap1, None) @@ -72,7 +72,7 @@ def gather_stats(ui, repo, amap, revs=None, progress=False): stats = {} - + cl = repo.changelog if not revs: @@ -117,7 +117,7 @@ def churn(ui, repo, **opts): "Graphs the number of lines changed" - + def pad(s, l): if len(s) < l: return s + " " * (l-len(s)) @@ -125,7 +125,7 @@ def graph(n, maximum, width, char): n = int(n * width / float(maximum)) - + return char * (n) def get_aliases(f): @@ -137,7 +137,7 @@ aliases[alias] = actual return aliases - + amap = {} aliases = opts.get('aliases') if aliases: