doc/gendoc.py
changeset 5209 bbdcdc7f170e
parent 3800 54fd4d3b4fce
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):