mercurial/dispatch.py
changeset 29857 318e2b600b80
parent 29852 d5883fd055c6
child 29888 ed793f41e83f
equal deleted inserted replaced
29856:398037e0511c 29857:318e2b600b80
   498             raise error.Abort(self.badalias, hint=hint)
   498             raise error.Abort(self.badalias, hint=hint)
   499         if self.shadows:
   499         if self.shadows:
   500             ui.debug("alias '%s' shadows command '%s'\n" %
   500             ui.debug("alias '%s' shadows command '%s'\n" %
   501                      (self.name, self.cmdname))
   501                      (self.name, self.cmdname))
   502 
   502 
       
   503         ui.log('commandalias', "alias '%s' expands to '%s'\n",
       
   504                self.name, self.definition)
   503         if util.safehasattr(self, 'shell'):
   505         if util.safehasattr(self, 'shell'):
   504             return self.fn(ui, *args, **opts)
   506             return self.fn(ui, *args, **opts)
   505         else:
   507         else:
   506             try:
   508             try:
   507                 return util.checksignature(self.fn)(ui, *args, **opts)
   509                 return util.checksignature(self.fn)(ui, *args, **opts)