[issue971] profiling (--profile) throws an exception, gets Traceback
John Coomes
mercurial-bugs at selenic.com
Thu Feb 7 15:31:38 CST 2008
New submission from John Coomes <john.coomes at sun.com>:
$ hg version
Mercurial Distributed SCM (version b7f44f01a632)
...
$ hg --profile version
exception raised - generating profile anyway
0 function calls in 0.000 CPU seconds
Ordered by: internal time, call count
ncalls tottime percall cumtime percall filename:lineno(function)
0 0.000 0.000 profile:0(profiler)
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version b7f44f01a632)
Traceback (most recent call last):
File "/export/tmp/hgb/hg/bin/hg", line 20, in <module>
mercurial.dispatch.run()
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 29, in dispatch
return _runcatch(u, args)
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 45, in _runcatch
return _dispatch(ui, args)
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 360, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 376, in _runcommand
return profiled(ui, checkargs, options)
File "/export/tmp/hgb/hg/lib/python2.5/site-packages/mercurial/dispatch.py",
line 392, in profiled
return prof.runcall(checkargs)
NameError: global name 'checkargs' is not defined
bisect tracked it down to:
5995 b913d3aacddc 2008-02-01 13:09 -0800 bos
profiling: allow CGI and FastCGI to be profiled
----------
messages: 5143
nosy: jcoomes
priority: bug
status: unread
title: profiling (--profile) throws an exception, gets Traceback
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue971>
____________________________________________________
More information about the Mercurial-devel
mailing list