changeset 16689 | f366d4c2ff34 |
parent 16683 | 525fdb738975 |
child 16785 | 1dc08dc63c09 |
--- a/contrib/perf.py Sat May 12 16:02:45 2012 +0200 +++ b/contrib/perf.py Sat May 12 16:02:46 2012 +0200 @@ -33,11 +33,11 @@ try: m = scmutil.match(repo[None], pats, {}) timer(lambda: len(list(repo.dirstate.walk(m, [], True, False)))) - except: + except Exception: try: m = scmutil.match(repo[None], pats, {}) timer(lambda: len([b for a, b, c in repo.dirstate.statwalk([], m)])) - except: + except Exception: timer(lambda: len(list(cmdutil.walk(repo, pats, {})))) def perfstatus(ui, repo, *pats):