Mercurial > hg
comparison mercurial/commands.py @ 8021:1c2cf2e5dc9b
profiling: dropping hotshot profiling. --profile as a unique profiling option
hotshot was an experimental module, which is broken for Python < 2.5
And even for Python >= 2.5 users, hotshot usage is discouraged: cProfile
(formerly lsprof) should be used instead.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 14:18:20 +0200 |
parents | 777a9efdae2d |
children | 683d8ebcf434 |
comparison
equal
deleted
inserted
replaced
8020:777a9efdae2d | 8021:1c2cf2e5dc9b |
---|---|
2998 ('', 'debug', None, _('enable debugging output')), | 2998 ('', 'debug', None, _('enable debugging output')), |
2999 ('', 'debugger', None, _('start debugger')), | 2999 ('', 'debugger', None, _('start debugger')), |
3000 ('', 'encoding', encoding.encoding, _('set the charset encoding')), | 3000 ('', 'encoding', encoding.encoding, _('set the charset encoding')), |
3001 ('', 'encodingmode', encoding.encodingmode, | 3001 ('', 'encodingmode', encoding.encodingmode, |
3002 _('set the charset encoding mode')), | 3002 _('set the charset encoding mode')), |
3003 ('', 'lsprof', None, _('print improved command execution profile')), | |
3004 ('', 'traceback', None, _('print traceback on exception')), | 3003 ('', 'traceback', None, _('print traceback on exception')), |
3005 ('', 'time', None, _('time how long the command takes')), | 3004 ('', 'time', None, _('time how long the command takes')), |
3006 ('', 'profile', None, _('print command execution profile')), | 3005 ('', 'profile', None, _('print command execution profile')), |
3007 ('', 'version', None, _('output version information and exit')), | 3006 ('', 'version', None, _('output version information and exit')), |
3008 ('h', 'help', None, _('display help and exit')), | 3007 ('h', 'help', None, _('display help and exit')), |