##// END OF EJS Templates
tracing: trace command function execution...
Boris Feld -
r39548:ec0a2601 default
parent child Browse files
Show More
@@ -992,6 +992,7 b' def _dispatch(req):'
992 992 def _runcommand(ui, options, cmd, cmdfunc):
993 993 """Run a command function, possibly with profiling enabled."""
994 994 try:
995 with tracing.log("Running %s command" % cmd):
995 996 return cmdfunc()
996 997 except error.SignatureError:
997 998 raise error.CommandError(cmd, _('invalid arguments'))
General Comments 0
You need to be logged in to leave comments. Login now