doc/gendoc.py
changeset 9130 335f749cc369
parent 9021 2ccb527c7b1a
child 9158 d6eecafaf12f
child 9240 b6cb3af61582
equal deleted inserted replaced
9129:395b0e132836 9130:335f749cc369
     1 import sys, textwrap
     1 import os, 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 # fall back to pure modules if required C extensions are not available
       
     5 sys.path.append(os.path.join('..', 'mercurial', 'pure'))
     4 from mercurial import demandimport; demandimport.enable()
     6 from mercurial import demandimport; demandimport.enable()
     5 from mercurial.commands import table, globalopts
     7 from mercurial.commands import table, globalopts
     6 from mercurial.i18n import gettext, _
     8 from mercurial.i18n import gettext, _
     7 from mercurial.help import helptable
     9 from mercurial.help import helptable
     8 
    10