mercurial/dispatch.py
branchstable
changeset 11676 e4357c214bf1
parent 11675 f92f8921a5cc
child 11681 c5e555e064d0
child 11691 b6360a113478
child 11712 9cbc62f68328
equal deleted inserted replaced
11675:f92f8921a5cc 11676:e4357c214bf1
   246 
   246 
   247     def __call__(self, ui, *args, **opts):
   247     def __call__(self, ui, *args, **opts):
   248         if self.shadows:
   248         if self.shadows:
   249             ui.debug("alias '%s' shadows command\n" % self.name)
   249             ui.debug("alias '%s' shadows command\n" % self.name)
   250 
   250 
   251         return self.fn(ui, *args, **opts)
   251         return util.checksignature(self.fn)(ui, *args, **opts)
   252 
   252 
   253 def addaliases(ui, cmdtable):
   253 def addaliases(ui, cmdtable):
   254     # aliases are processed after extensions have been loaded, so they
   254     # aliases are processed after extensions have been loaded, so they
   255     # may use extension commands. Aliases can also use other alias definitions,
   255     # may use extension commands. Aliases can also use other alias definitions,
   256     # but only if they have been defined prior to the current definition.
   256     # but only if they have been defined prior to the current definition.