equal
deleted
inserted
replaced
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. |