Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 19378:9de689d20230
cleanup: drop unused variables and an unused import
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Mon, 01 Jul 2013 20:48:56 +0200 |
parents | ff1586a3adc5 |
children | 0a881ea4bed4 |
line wrap: on
line diff
--- a/contrib/perf.py Mon Jul 01 20:48:55 2013 +0200 +++ b/contrib/perf.py Mon Jul 01 20:48:56 2013 +0200 @@ -175,7 +175,7 @@ def perfmanifest(ui, repo): def d(): t = repo.manifest.tip() - m = repo.manifest.read(t) + repo.manifest.read(t) repo.manifest.mapcache = None repo.manifest._cache = None timer(d) @@ -184,7 +184,7 @@ def perfchangeset(ui, repo, rev): n = repo[rev].node() def d(): - c = repo.changelog.read(n) + repo.changelog.read(n) #repo.changelog._cache = None timer(d)