Mercurial > hg
diff hgext/alias.py @ 5178:18a9fbb5cd78
dispatch: move command dispatching into its own module
- move command dispatching functions from commands and cmdutil to dispatch
- change findcmd to take a table argument
- remove circular import of commands in cmdutil
- privatize helper functions in dispatch
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Aug 2007 16:55:13 -0500 |
parents | a28661788f2f |
children | f7d545a866e8 |
line wrap: on
line diff
--- a/hgext/alias.py Wed Aug 15 16:10:36 2007 -0500 +++ b/hgext/alias.py Wed Aug 15 16:55:13 2007 -0500 @@ -42,7 +42,7 @@ return try: - self._cmd = findcmd(self._ui, self._target)[1] + self._cmd = findcmd(self._ui, self._target, commands.table)[1] if self._cmd == self: raise RecursiveCommand() if self._target in commands.norepo.split(' '):