mercurial/dispatch.py
changeset 11985 81edef14922e
parent 11714 aae1dd12fce6
child 11989 f853873fc66d
--- a/mercurial/dispatch.py	Thu Aug 19 11:14:02 2010 -0500
+++ b/mercurial/dispatch.py	Thu Aug 19 11:14:09 2010 -0500
@@ -511,6 +511,8 @@
     elif rpath:
         ui.warn(_("warning: --repository ignored\n"))
 
+    msg = ' '.join(' ' in a and repr(a) or a for a in fullargs)
+    ui.log("command", msg + "\n")
     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
     return runcommand(lui, repo, cmd, fullargs, ui, options, d,
                       cmdpats, cmdoptions)