--- a/mercurial/commands.py Thu Jun 28 09:19:08 2007 -0700
+++ b/mercurial/commands.py Thu Jun 28 21:16:25 2007 -0700
@@ -1395,6 +1395,8 @@
try:
ct = mod.cmdtable
except AttributeError:
+ ct = None
+ if not ct:
ui.status(_('no commands defined\n'))
return