mercurial/dispatch.py
changeset 29846 318e2b600b80
parent 29841 d5883fd055c6
child 29884 ed793f41e83f
--- a/mercurial/dispatch.py	Thu Aug 25 01:06:32 2016 -0400
+++ b/mercurial/dispatch.py	Tue Aug 23 16:40:08 2016 -0400
@@ -500,6 +500,8 @@
             ui.debug("alias '%s' shadows command '%s'\n" %
                      (self.name, self.cmdname))
 
+        ui.log('commandalias', "alias '%s' expands to '%s'\n",
+               self.name, self.definition)
         if util.safehasattr(self, 'shell'):
             return self.fn(ui, *args, **opts)
         else: