changeset 5209:bbdcdc7f170e

gendoc: use demandimport
author Matt Mackall <mpm@selenic.com>
date Mon, 20 Aug 2007 21:10:45 -0500
parents cf9226452db7
children 90d9ec0dc69d
files doc/gendoc.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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