author | Roman Sokolov <sokolov.r.v@gmail.com> |
Thu, 10 Feb 2011 15:41:34 +0300 | |
changeset 13394 | 30e103dacd5f |
parent 13393 | d38d500deb08 |
child 13395 | 104c9ed93fc5 |
--- 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: