gendoc: use demandimport
authorMatt Mackall <mpm@selenic.com>
Mon, 20 Aug 2007 21:10:45 -0500
changeset 5209 bbdcdc7f170e
parent 5208 cf9226452db7
child 5210 90d9ec0dc69d
gendoc: use demandimport
doc/gendoc.py
--- a/doc/gendoc.py	Mon Aug 20 21:14:53 2007 -0500
+++ b/doc/gendoc.py	Mon Aug 20 21:10:45 2007 -0500
@@ -1,6 +1,7 @@
 import sys, textwrap
 # import from the live mercurial repo
 sys.path.insert(0, "..")
+from mercurial import demandimport; demandimport.enable()
 from mercurial.commands import table, globalopts
 from mercurial.i18n import gettext as _
 from mercurial.help import helptable