Christian Ebert <blacktrash@gmx.net> [Fri, 15 Feb 2008 18:36:28 +0100] rev 6115
keyword: make main class and hg command accessible
Switch from global vars to top level dictionary.
Goal: make it easier for external tools (like tortoisehg)
to hook into keyword extension.