##// END OF EJS Templates
log: add logging for commands
Matt Mackall -
r11985:81edef14 default
parent child Browse files
Show More
@@ -511,6 +511,8 b' def _dispatch(ui, args):'
511 elif rpath:
511 elif rpath:
512 ui.warn(_("warning: --repository ignored\n"))
512 ui.warn(_("warning: --repository ignored\n"))
513
513
514 msg = ' '.join(' ' in a and repr(a) or a for a in fullargs)
515 ui.log("command", msg + "\n")
514 d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
516 d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
515 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
517 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
516 cmdpats, cmdoptions)
518 cmdpats, cmdoptions)
General Comments 0
You need to be logged in to leave comments. Login now