Mercurial > hg
changeset 17216:01c1ee4bd1dd
perf: fix perfcca to work with new casecollisionauditor interface
A recent changeset, afd75476939e, modified the caescollisionauditor interface
but did not update perf.py. This changeset remidies that.
author | Joshua Redstone <joshua.redstone@fb.com> |
---|---|
date | Wed, 18 Jul 2012 07:51:20 -0700 |
parents | e2a0422f00f7 |
children | 1b2b727a885f |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/perf.py Tue Jul 17 18:21:49 2012 +0200 +++ b/contrib/perf.py Wed Jul 18 07:51:20 2012 -0700 @@ -177,7 +177,7 @@ ui.popbuffer() def perfcca(ui, repo): - timer(lambda: scmutil.casecollisionauditor(ui, False, repo[None])) + timer(lambda: scmutil.casecollisionauditor(ui, False, repo.dirstate)) def perffncacheload(ui, repo): from mercurial import scmutil, store