comparison doc/gendoc.py @ 5209:bbdcdc7f170e

gendoc: use demandimport
author Matt Mackall <mpm@selenic.com>
date Mon, 20 Aug 2007 21:10:45 -0500
parents 54fd4d3b4fce
children
comparison
equal deleted inserted replaced
5208:cf9226452db7 5209:bbdcdc7f170e
1 import sys, textwrap 1 import sys, textwrap
2 # import from the live mercurial repo 2 # import from the live mercurial repo
3 sys.path.insert(0, "..") 3 sys.path.insert(0, "..")
4 from mercurial import demandimport; demandimport.enable()
4 from mercurial.commands import table, globalopts 5 from mercurial.commands import table, globalopts
5 from mercurial.i18n import gettext as _ 6 from mercurial.i18n import gettext as _
6 from mercurial.help import helptable 7 from mercurial.help import helptable
7 8
8 def get_desc(docstr): 9 def get_desc(docstr):