changeset 13394 | 30e103dacd5f |
parent 13393 | d38d500deb08 |
child 13430 | ed720c7cc97d |
--- a/mercurial/dispatch.py Fri Feb 11 03:46:28 2011 +0300 +++ b/mercurial/dispatch.py Thu Feb 10 15:41:34 2011 +0300 @@ -295,7 +295,7 @@ ui.debug("alias '%s' shadows command '%s'\n" % (self.name, self.cmdname)) - if self.definition.startswith('!'): + if hasattr(self, 'shell'): return self.fn(ui, *args, **opts) else: try: