Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 1833:fc959d6ffb13
i made a mistake in last change.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 03 Mar 2006 13:24:26 -0800 |
parents | 7a58bf789965 |
children | bdfb524d728a |
comparison
equal
deleted
inserted
replaced
1832:7a58bf789965 | 1833:fc959d6ffb13 |
---|---|
2869 try: | 2869 try: |
2870 u.warn(_('exception raised - generating profile ' | 2870 u.warn(_('exception raised - generating profile ' |
2871 'anyway\n')) | 2871 'anyway\n')) |
2872 except: | 2872 except: |
2873 pass | 2873 pass |
2874 raise | |
2874 finally: | 2875 finally: |
2875 prof.close() | 2876 prof.close() |
2876 stats = hotshot.stats.load("hg.prof") | 2877 stats = hotshot.stats.load("hg.prof") |
2877 stats.strip_dirs() | 2878 stats.strip_dirs() |
2878 stats.sort_stats('time', 'calls') | 2879 stats.sort_stats('time', 'calls') |