Mercurial > hg
diff contrib/perf.py @ 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 | 91f3ac205816 |
children | 5ab863922e0f |
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