diff -r 398037e0511c -r 318e2b600b80 mercurial/dispatch.py --- 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: